pub struct Source {
pub text: String,
pub receive_id: String,
}Expand description
加解密数据结构体。
Fields§
§text: String待加密(解密后)的消息。
receive_id: String在企业应用回调中为corpid;在第三方事件回调中为suiteid;在个人主体的第三方应用中为一个空字符串。
Trait Implementations§
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
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