pub struct Update {
pub kind: UpdateType,
pub update_props: UpdateProperties,
pub object_props: ObjectProperties,
pub activity_props: ActivityProperties,
}Expand description
Indicates that the actor has updated the object.
Note, however, that this vocabulary does not define a mechanism for describing the actual set of modifications made to object.
The target and origin typically have no defined meaning.
Fields§
§kind: UpdateType§update_props: UpdatePropertiesAdds all valid update properties to this struct
object_props: ObjectPropertiesAdds all valid object properties to this struct
activity_props: ActivityPropertiesAdds all valid activity properties to this struct
Implementations§
Trait Implementations§
Source§impl AsMut<ActivityProperties> for Update
impl AsMut<ActivityProperties> for Update
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 Update
impl AsMut<ActorAndObjectProperties> for Update
Source§fn as_mut(&mut self) -> &mut UpdateProperties
fn as_mut(&mut self) -> &mut UpdateProperties
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<ObjectProperties> for Update
impl AsMut<ObjectProperties> for Update
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 Update
impl AsRef<ActivityProperties> for Update
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 Update
impl AsRef<ActorAndObjectProperties> for Update
Source§fn as_ref(&self) -> &UpdateProperties
fn as_ref(&self) -> &UpdateProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ObjectProperties> for Update
impl AsRef<ObjectProperties> for Update
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 Update
impl<'de> Deserialize<'de> for Update
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<Update> for ActivityBox
impl TryFrom<Update> for ActivityBox
impl Activity for Update
impl Base for Update
impl Object for Update
Auto Trait Implementations§
impl Freeze for Update
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnsafeUnpin for Update
impl UnwindSafe for Update
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