pub struct Read {
pub kind: ReadType,
pub read_props: ReadProperties,
pub object_props: ObjectProperties,
pub activity_props: ActivityProperties,
}
Expand description
Indicates that the actor has read the object.
Fields§
§kind: ReadType
§read_props: ReadProperties
Adds all valid read properties to this struct
object_props: ObjectProperties
Adds all valid object properties to this struct
activity_props: ActivityProperties
Adds all valid activity properties to this struct
Implementations§
Trait Implementations§
Source§impl AsMut<ActivityProperties> for Read
impl AsMut<ActivityProperties> for Read
Source§fn as_mut(&mut self) -> &mut ActivityProperties
fn as_mut(&mut self) -> &mut ActivityProperties
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<ActorAndObjectProperties> for Read
impl AsMut<ActorAndObjectProperties> for Read
Source§fn as_mut(&mut self) -> &mut ReadProperties
fn as_mut(&mut self) -> &mut ReadProperties
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<ObjectProperties> for Read
impl AsMut<ObjectProperties> for Read
Source§fn as_mut(&mut self) -> &mut ObjectProperties
fn as_mut(&mut self) -> &mut ObjectProperties
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<ActivityProperties> for Read
impl AsRef<ActivityProperties> for Read
Source§fn as_ref(&self) -> &ActivityProperties
fn as_ref(&self) -> &ActivityProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ActorAndObjectProperties> for Read
impl AsRef<ActorAndObjectProperties> for Read
Source§fn as_ref(&self) -> &ReadProperties
fn as_ref(&self) -> &ReadProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ObjectProperties> for Read
impl AsRef<ObjectProperties> for Read
Source§fn as_ref(&self) -> &ObjectProperties
fn as_ref(&self) -> &ObjectProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<'de> Deserialize<'de> for Read
impl<'de> Deserialize<'de> for Read
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 TryFrom<Read> for ActivityBox
impl TryFrom<Read> for ActivityBox
impl Activity for Read
impl Base for Read
impl Object for Read
Auto Trait Implementations§
impl Freeze for Read
impl RefUnwindSafe for Read
impl Send for Read
impl Sync for Read
impl Unpin for Read
impl UnwindSafe for Read
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