pub struct FurMessage {
pub id: String,
pub avatar: String,
pub ts: String,
pub link: Option<String>,
pub sha256: Option<String>,
pub img: Option<String>,
pub body: String,
}Expand description
One message in a conversation.
body is the inline text. When link is set the body lives in a sibling
file and body is normally empty — the two are not mutually exclusive, but
a linked message with inline text is treated as a caption.
Fields§
§id: String§avatar: String§ts: String§link: Option<String>Long-form file, relative to the conversation folder.
sha256: Option<String>SHA-256 of the linked file, for drift detection and repair.
img: Option<String>Image attachment, relative to the conversation folder.
body: StringImplementations§
Trait Implementations§
Source§impl Clone for FurMessage
impl Clone for FurMessage
Source§impl Debug for FurMessage
impl Debug for FurMessage
impl Eq for FurMessage
Source§impl PartialEq for FurMessage
impl PartialEq for FurMessage
impl StructuralPartialEq for FurMessage
Auto Trait Implementations§
impl Freeze for FurMessage
impl RefUnwindSafe for FurMessage
impl Send for FurMessage
impl Sync for FurMessage
impl Unpin for FurMessage
impl UnsafeUnpin for FurMessage
impl UnwindSafe for FurMessage
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