pub struct DestinationRequest {
    pub target: String,
    pub name: String,
}Fields§
§target: StringThe Whatsapp phone number to send notifications to.
name: StringA descriptive label
Trait Implementations§
Source§impl Clone for DestinationRequest
 
impl Clone for DestinationRequest
Source§fn clone(&self) -> DestinationRequest
 
fn clone(&self) -> DestinationRequest
Returns a duplicate 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 DestinationRequest
 
impl Debug for DestinationRequest
Source§impl Default for DestinationRequest
 
impl Default for DestinationRequest
Source§fn default() -> DestinationRequest
 
fn default() -> DestinationRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DestinationRequest
 
impl<'de> Deserialize<'de> for DestinationRequest
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 DestinationRequest
impl RefUnwindSafe for DestinationRequest
impl Send for DestinationRequest
impl Sync for DestinationRequest
impl Unpin for DestinationRequest
impl UnwindSafe for DestinationRequest
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