pub struct WhatsAppBotSessionInit {
pub versions: Vec<Version>,
}Expand description
Message expected when trying to connect to a whatsapp bot
Fields§
§versions: Vec<Version>the protocol versions the client supports
Trait Implementations§
Source§impl Clone for WhatsAppBotSessionInit
impl Clone for WhatsAppBotSessionInit
Source§fn clone(&self) -> WhatsAppBotSessionInit
fn clone(&self) -> WhatsAppBotSessionInit
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 WhatsAppBotSessionInit
impl Debug for WhatsAppBotSessionInit
Source§impl<'de> Deserialize<'de> for WhatsAppBotSessionInit
impl<'de> Deserialize<'de> for WhatsAppBotSessionInit
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 WhatsAppBotSessionInit
impl RefUnwindSafe for WhatsAppBotSessionInit
impl Send for WhatsAppBotSessionInit
impl Sync for WhatsAppBotSessionInit
impl Unpin for WhatsAppBotSessionInit
impl UnwindSafe for WhatsAppBotSessionInit
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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