pub struct Brief {
pub text: String,
pub digest: String,
pub bytes: usize,
}Expand description
A composed brief.
Fields§
§text: StringThe whole text, its header line first.
digest: StringHex SHA-256 of the body (everything after the header line).
bytes: usizeThe text’s size.
Trait Implementations§
impl Eq for Brief
impl StructuralPartialEq for Brief
Auto Trait Implementations§
impl Freeze for Brief
impl RefUnwindSafe for Brief
impl Send for Brief
impl Sync for Brief
impl Unpin for Brief
impl UnsafeUnpin for Brief
impl UnwindSafe for Brief
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