pub struct ReferralTraffic { /* private fields */ }Expand description
Referral traffic label.
Implementations§
Source§impl ReferralTraffic
impl ReferralTraffic
Sourcepub const fn new(host: ReferrerHost) -> Self
pub const fn new(host: ReferrerHost) -> Self
Creates a referral traffic label.
Sourcepub const fn host(&self) -> &ReferrerHost
pub const fn host(&self) -> &ReferrerHost
Returns the referral host.
Trait Implementations§
Source§impl Clone for ReferralTraffic
impl Clone for ReferralTraffic
Source§fn clone(&self) -> ReferralTraffic
fn clone(&self) -> ReferralTraffic
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 ReferralTraffic
impl Debug for ReferralTraffic
Source§impl PartialEq for ReferralTraffic
impl PartialEq for ReferralTraffic
impl Eq for ReferralTraffic
impl StructuralPartialEq for ReferralTraffic
Auto Trait Implementations§
impl Freeze for ReferralTraffic
impl RefUnwindSafe for ReferralTraffic
impl Send for ReferralTraffic
impl Sync for ReferralTraffic
impl Unpin for ReferralTraffic
impl UnsafeUnpin for ReferralTraffic
impl UnwindSafe for ReferralTraffic
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