pub struct ChatLog {
pub channel: String,
pub account: String,
pub conversation: String,
}Expand description
A conversation’s chat log under the server’s history directory,
<channel>/<account>/<conversation>. Each part is at most 64 bytes of
ASCII letters, digits, -, and _.
Fields§
§channel: StringThe channel, as SCV names it in paths (wechat, feishu).
account: StringThe channel account.
conversation: StringA digest of the conversation, so sender IDs never become paths.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatLog
impl<'de> Deserialize<'de> for ChatLog
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
impl Eq for ChatLog
impl StructuralPartialEq for ChatLog
Auto Trait Implementations§
impl Freeze for ChatLog
impl RefUnwindSafe for ChatLog
impl Send for ChatLog
impl Sync for ChatLog
impl Unpin for ChatLog
impl UnsafeUnpin for ChatLog
impl UnwindSafe for ChatLog
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