Struct apollo_client::conf::meta::Notification
source ยท pub struct Notification {
pub namespace_name: String,
pub notification_id: i32,
}
Available on crate feature
conf
only.Expand description
Notification for request and response, default notification_id is -1
.
Fieldsยง
ยงnamespace_name: String
ยงnotification_id: i32
Trait Implementationsยง
sourceยงimpl Clone for Notification
impl Clone for Notification
sourceยงfn clone(&self) -> Notification
fn clone(&self) -> Notification
Returns a copy 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 Notification
impl Debug for Notification
sourceยงimpl Default for Notification
impl Default for Notification
sourceยงimpl<'de> Deserialize<'de> for Notification
impl<'de> Deserialize<'de> for Notification
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<Notification> for Notification
impl PartialEq<Notification> for Notification
sourceยงfn eq(&self, other: &Notification) -> bool
fn eq(&self, other: &Notification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.sourceยงimpl Serialize for Notification
impl Serialize for Notification
impl StructuralPartialEq for Notification
Auto Trait Implementationsยง
impl RefUnwindSafe for Notification
impl Send for Notification
impl Sync for Notification
impl Unpin for Notification
impl UnwindSafe for Notification
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