pub struct ChangeNotification {
pub context: String,
pub id: String,
pub kind: String,
pub object: String,
pub published: String,
}Expand description
Activity Streams 2.0 change notification payload.
Fields§
§context: String§id: String§kind: String§object: String§published: StringImplementations§
Source§impl ChangeNotification
impl ChangeNotification
Sourcepub fn from_storage_event(event: &StorageEvent, pod_base: &str) -> Self
pub fn from_storage_event(event: &StorageEvent, pod_base: &str) -> Self
Build a notification from a StorageEvent.
Trait Implementations§
Source§impl Clone for ChangeNotification
impl Clone for ChangeNotification
Source§fn clone(&self) -> ChangeNotification
fn clone(&self) -> ChangeNotification
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 ChangeNotification
impl Debug for ChangeNotification
Source§impl<'de> Deserialize<'de> for ChangeNotification
impl<'de> Deserialize<'de> for ChangeNotification
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
Auto Trait Implementations§
impl Freeze for ChangeNotification
impl RefUnwindSafe for ChangeNotification
impl Send for ChangeNotification
impl Sync for ChangeNotification
impl Unpin for ChangeNotification
impl UnsafeUnpin for ChangeNotification
impl UnwindSafe for ChangeNotification
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