pub struct ProcessDcUpdate {
pub dc: String,
pub addr: String,
}
Expand description
Handles a DC_UPDATE push service notification. Can be called before authorization
Fields§
§dc: String
Value of the “dc” parameter of the notification
addr: String
Value of the “addr” parameter of the notification
Trait Implementations§
Source§impl Clone for ProcessDcUpdate
impl Clone for ProcessDcUpdate
Source§fn clone(&self) -> ProcessDcUpdate
fn clone(&self) -> ProcessDcUpdate
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 ProcessDcUpdate
impl Debug for ProcessDcUpdate
Source§impl<'de> Deserialize<'de> for ProcessDcUpdate
impl<'de> Deserialize<'de> for ProcessDcUpdate
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 Method for ProcessDcUpdate
impl Method for ProcessDcUpdate
Auto Trait Implementations§
impl Freeze for ProcessDcUpdate
impl RefUnwindSafe for ProcessDcUpdate
impl Send for ProcessDcUpdate
impl Sync for ProcessDcUpdate
impl Unpin for ProcessDcUpdate
impl UnwindSafe for ProcessDcUpdate
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