pub struct NormalizedActivity {
pub text: Option<String>,
pub truncated: bool,
pub text_digest: Option<String>,
}Expand description
An activity record’s text after the size bound, with whether it was cut and what it was.
Fields§
§text: Option<String>Text within MAX_ACTIVITY_TEXT_BYTES.
truncated: boolWhether the supplied text was longer and was cut at a character boundary.
text_digest: Option<String>SHA-256, in lowercase hex, of the whole supplied text; the identity of the text even when only a prefix is kept.
Trait Implementations§
Source§impl Clone for NormalizedActivity
impl Clone for NormalizedActivity
Source§impl Debug for NormalizedActivity
impl Debug for NormalizedActivity
impl Eq for NormalizedActivity
Source§impl PartialEq for NormalizedActivity
impl PartialEq for NormalizedActivity
impl StructuralPartialEq for NormalizedActivity
Auto Trait Implementations§
impl Freeze for NormalizedActivity
impl RefUnwindSafe for NormalizedActivity
impl Send for NormalizedActivity
impl Sync for NormalizedActivity
impl Unpin for NormalizedActivity
impl UnsafeUnpin for NormalizedActivity
impl UnwindSafe for NormalizedActivity
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