pub struct EncryptContext {
pub encrypted_xml: String,
pub signature: String,
pub timestamp: String,
pub nonce: String,
}Expand description
加密上下文(encrypt 的返回值)。
Fields§
§encrypted_xml: String加密后的消息密文(Base64)
signature: String安全签名
timestamp: String时间戳
nonce: String随机串
Trait Implementations§
Source§impl Clone for EncryptContext
impl Clone for EncryptContext
Source§fn clone(&self) -> EncryptContext
fn clone(&self) -> EncryptContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EncryptContext
impl RefUnwindSafe for EncryptContext
impl Send for EncryptContext
impl Sync for EncryptContext
impl Unpin for EncryptContext
impl UnsafeUnpin for EncryptContext
impl UnwindSafe for EncryptContext
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