pub struct AnalyticsSubject {
pub kind: AnalyticsSubjectKind,
pub id: String,
}Fields§
§kind: AnalyticsSubjectKind§id: StringImplementations§
Source§impl AnalyticsSubject
impl AnalyticsSubject
pub fn new(kind: AnalyticsSubjectKind, id: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for AnalyticsSubject
impl Clone for AnalyticsSubject
Source§fn clone(&self) -> AnalyticsSubject
fn clone(&self) -> AnalyticsSubject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AnalyticsSubject
impl Debug for AnalyticsSubject
Source§impl<'de> Deserialize<'de> for AnalyticsSubject
impl<'de> Deserialize<'de> for AnalyticsSubject
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AnalyticsSubject
Source§impl Hash for AnalyticsSubject
impl Hash for AnalyticsSubject
Source§impl PartialEq for AnalyticsSubject
impl PartialEq for AnalyticsSubject
Source§impl Serialize for AnalyticsSubject
impl Serialize for AnalyticsSubject
impl StructuralPartialEq for AnalyticsSubject
Auto Trait Implementations§
impl Freeze for AnalyticsSubject
impl RefUnwindSafe for AnalyticsSubject
impl Send for AnalyticsSubject
impl Sync for AnalyticsSubject
impl Unpin for AnalyticsSubject
impl UnsafeUnpin for AnalyticsSubject
impl UnwindSafe for AnalyticsSubject
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