pub struct Announce {
pub kind: AnnounceType,
pub announce_props: AnnounceProperties,
pub object_props: ObjectProperties,
pub activity_props: ActivityProperties,
}Expand description
Indicates that the actor is calling the target’s attention the object.
The origin typically has no defined meaning.
Fields§
§kind: AnnounceType§announce_props: AnnouncePropertiesAdds all valid announce properties to this struct
object_props: ObjectPropertiesAdds all valid object properties to this struct
activity_props: ActivityPropertiesAdds all valid activity properties to this struct
Trait Implementations§
Source§impl ActivityExt for Announce
impl ActivityExt for Announce
fn props(&self) -> &ActivityProperties
fn props_mut(&mut self) -> &mut ActivityProperties
Source§impl<'de> Deserialize<'de> for Announce
impl<'de> Deserialize<'de> for Announce
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 ObjectExt for Announce
impl ObjectExt for Announce
fn props(&self) -> &ObjectProperties
fn props_mut(&mut self) -> &mut ObjectProperties
impl Activity for Announce
impl Object for Announce
Auto Trait Implementations§
impl Freeze for Announce
impl RefUnwindSafe for Announce
impl Send for Announce
impl Sync for Announce
impl Unpin for Announce
impl UnwindSafe for Announce
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