pub struct EventSource {
pub item_type: EventSourceItemType,
pub item_id: String,
pub item_name: String,
pub classification: Option<EventSourceClassification>,
pub parent: Option<Option<FolderMini>>,
pub owned_by: Option<UserMini>,
}Fields§
§item_type: EventSourceItemType§item_id: String§item_name: String§classification: Option<EventSourceClassification>§parent: Option<Option<FolderMini>>§owned_by: Option<UserMini>Trait Implementations§
Source§impl Clone for EventSource
impl Clone for EventSource
Source§fn clone(&self) -> EventSource
fn clone(&self) -> EventSource
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 EventSource
impl Debug for EventSource
Source§impl Default for EventSource
impl Default for EventSource
Source§fn default() -> EventSource
fn default() -> EventSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventSource
impl<'de> Deserialize<'de> for EventSource
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
Source§impl PartialEq for EventSource
impl PartialEq for EventSource
Source§impl Serialize for EventSource
impl Serialize for EventSource
impl StructuralPartialEq for EventSource
Auto Trait Implementations§
impl Freeze for EventSource
impl RefUnwindSafe for EventSource
impl Send for EventSource
impl Sync for EventSource
impl Unpin for EventSource
impl UnsafeUnpin for EventSource
impl UnwindSafe for EventSource
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