pub struct ModEventViewData {
pub created_at: Datetime,
pub created_by: Did,
pub creator_handle: Option<String>,
pub event: Union<ModEventViewEventRefs>,
pub id: i64,
pub mod_tool: Option<ModTool>,
pub subject: Union<ModEventViewSubjectRefs>,
pub subject_blob_cids: Vec<String>,
pub subject_handle: Option<String>,
}
Available on crate feature
namespace-toolsozone
only.Fields§
§created_at: Datetime
§created_by: Did
§creator_handle: Option<String>
§event: Union<ModEventViewEventRefs>
§id: i64
§mod_tool: Option<ModTool>
§subject: Union<ModEventViewSubjectRefs>
§subject_blob_cids: Vec<String>
§subject_handle: Option<String>
Trait Implementations§
Source§impl Clone for ModEventViewData
impl Clone for ModEventViewData
Source§fn clone(&self) -> ModEventViewData
fn clone(&self) -> ModEventViewData
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 ModEventViewData
impl Debug for ModEventViewData
Source§impl<'de> Deserialize<'de> for ModEventViewData
impl<'de> Deserialize<'de> for ModEventViewData
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 ModEventViewData
impl PartialEq for ModEventViewData
Source§impl Serialize for ModEventViewData
impl Serialize for ModEventViewData
impl Eq for ModEventViewData
impl StructuralPartialEq for ModEventViewData
Auto Trait Implementations§
impl Freeze for ModEventViewData
impl RefUnwindSafe for ModEventViewData
impl Send for ModEventViewData
impl Sync for ModEventViewData
impl Unpin for ModEventViewData
impl UnwindSafe for ModEventViewData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.