pub struct ChatFileRecord {Show 25 fields
pub file_id: String,
pub original_name: String,
pub mime_type: String,
pub extension: String,
pub sha256: String,
pub byte_size: u64,
pub page_count: Option<u32>,
pub text_preview: String,
pub storage_rel_path: String,
pub text_rel_path: String,
pub author_did: String,
pub author_name: Option<String>,
pub message_lamport: Option<u64>,
pub attached_at: u64,
pub sharing: ChatFileSharing,
pub parse_status: String,
pub parse_error: Option<String>,
pub sensitivity_level: u8,
pub media_kind: MediaKind,
pub image_width: Option<u32>,
pub image_height: Option<u32>,
pub thumbnail_rel_path: Option<String>,
pub vision_lexicon_id: Option<String>,
pub vision_facet: Option<String>,
pub vision_status: Option<String>,
}Fields§
§file_id: String§original_name: String§mime_type: String§extension: String§sha256: String§byte_size: u64§page_count: Option<u32>§text_preview: String§storage_rel_path: String§text_rel_path: String§message_lamport: Option<u64>§attached_at: u64§sharing: ChatFileSharing§parse_status: String§parse_error: Option<String>§sensitivity_level: u8§media_kind: MediaKind§image_width: Option<u32>§image_height: Option<u32>§thumbnail_rel_path: Option<String>§vision_lexicon_id: Option<String>§vision_facet: Option<String>§vision_status: Option<String>Trait Implementations§
Source§impl Clone for ChatFileRecord
impl Clone for ChatFileRecord
Source§fn clone(&self) -> ChatFileRecord
fn clone(&self) -> ChatFileRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChatFileRecord
impl Debug for ChatFileRecord
Source§impl<'de> Deserialize<'de> for ChatFileRecord
impl<'de> Deserialize<'de> for ChatFileRecord
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
Auto Trait Implementations§
impl Freeze for ChatFileRecord
impl RefUnwindSafe for ChatFileRecord
impl Send for ChatFileRecord
impl Sync for ChatFileRecord
impl Unpin for ChatFileRecord
impl UnsafeUnpin for ChatFileRecord
impl UnwindSafe for ChatFileRecord
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more