pub struct OrganicTraffic { /* private fields */ }Expand description
Organic traffic label.
Implementations§
Source§impl OrganicTraffic
impl OrganicTraffic
Sourcepub fn new(source: impl AsRef<str>) -> Result<Self, ReferrerValueError>
pub fn new(source: impl AsRef<str>) -> Result<Self, ReferrerValueError>
Creates an organic traffic label.
§Errors
Returns ReferrerValueError::Empty when the source is empty.
Trait Implementations§
Source§impl Clone for OrganicTraffic
impl Clone for OrganicTraffic
Source§fn clone(&self) -> OrganicTraffic
fn clone(&self) -> OrganicTraffic
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrganicTraffic
impl Debug for OrganicTraffic
Source§impl PartialEq for OrganicTraffic
impl PartialEq for OrganicTraffic
impl Eq for OrganicTraffic
impl StructuralPartialEq for OrganicTraffic
Auto Trait Implementations§
impl Freeze for OrganicTraffic
impl RefUnwindSafe for OrganicTraffic
impl Send for OrganicTraffic
impl Sync for OrganicTraffic
impl Unpin for OrganicTraffic
impl UnsafeUnpin for OrganicTraffic
impl UnwindSafe for OrganicTraffic
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more