Struct ya_client_model::activity::provider_event::ProviderEvent
source · [−]pub struct ProviderEvent {
pub activity_id: String,
pub agreement_id: String,
pub event_type: ProviderEventType,
pub event_date: DateTime<Utc>,
}Fields
activity_id: Stringagreement_id: Stringevent_type: ProviderEventTypeevent_date: DateTime<Utc>Trait Implementations
sourceimpl Clone for ProviderEvent
impl Clone for ProviderEvent
sourcefn clone(&self) -> ProviderEvent
fn clone(&self) -> ProviderEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ProviderEvent
impl Debug for ProviderEvent
sourceimpl<'de> Deserialize<'de> for ProviderEvent
impl<'de> Deserialize<'de> for ProviderEvent
sourcefn 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
sourceimpl PartialEq<ProviderEvent> for ProviderEvent
impl PartialEq<ProviderEvent> for ProviderEvent
sourcefn eq(&self, other: &ProviderEvent) -> bool
fn eq(&self, other: &ProviderEvent) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ProviderEvent) -> bool
fn ne(&self, other: &ProviderEvent) -> bool
This method tests for !=.
sourceimpl Serialize for ProviderEvent
impl Serialize for ProviderEvent
impl StructuralPartialEq for ProviderEvent
Auto Trait Implementations
impl RefUnwindSafe for ProviderEvent
impl Send for ProviderEvent
impl Sync for ProviderEvent
impl Unpin for ProviderEvent
impl UnwindSafe for ProviderEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more