pub enum EncodingMode {
Plain,
Compat(String),
Security(String),
}
Expand description
Encoding mode of message getting or sending with wechat. EncodingMode::Compat or EncodingMode::Security mode has a aes-key.
Variants§
Trait Implementations§
Source§impl Clone for EncodingMode
impl Clone for EncodingMode
Source§fn clone(&self) -> EncodingMode
fn clone(&self) -> EncodingMode
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 moreAuto Trait Implementations§
impl Freeze for EncodingMode
impl RefUnwindSafe for EncodingMode
impl Send for EncodingMode
impl Sync for EncodingMode
impl Unpin for EncodingMode
impl UnwindSafe for EncodingMode
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