pub struct SocialTraffic { /* private fields */ }Expand description
Social traffic label.
Implementations§
Source§impl SocialTraffic
impl SocialTraffic
Sourcepub fn new(network: impl AsRef<str>) -> Result<Self, ReferrerValueError>
pub fn new(network: impl AsRef<str>) -> Result<Self, ReferrerValueError>
Creates a social traffic label.
§Errors
Returns ReferrerValueError::Empty when the network is empty.
Trait Implementations§
Source§impl Clone for SocialTraffic
impl Clone for SocialTraffic
Source§fn clone(&self) -> SocialTraffic
fn clone(&self) -> SocialTraffic
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 SocialTraffic
impl Debug for SocialTraffic
Source§impl PartialEq for SocialTraffic
impl PartialEq for SocialTraffic
impl Eq for SocialTraffic
impl StructuralPartialEq for SocialTraffic
Auto Trait Implementations§
impl Freeze for SocialTraffic
impl RefUnwindSafe for SocialTraffic
impl Send for SocialTraffic
impl Sync for SocialTraffic
impl Unpin for SocialTraffic
impl UnsafeUnpin for SocialTraffic
impl UnwindSafe for SocialTraffic
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