pub struct DataroomDocument {
pub content_type: Option<String>,
pub created_at: Option<i32>,
pub file_key: Option<String>,
pub file_size: Option<i32>,
pub id: Option<String>,
pub name: Option<String>,
pub num_pages: Option<i32>,
pub type: Option<String>,
pub updated_at: Option<i32>,
}Fields§
§content_type: Option<String>ContentType is the mime type recorded at upload, null when none was sent.
created_at: Option<i32>CreatedAt is when the document was uploaded, in unix milliseconds.
file_key: Option<String>FileKey is the opaque object-storage key the bytes are stored under. It is scoped to the tenant’s own key prefix and is not a URL.
file_size: Option<i32>FileSize is the stored byte count, null when it was not recorded.
id: Option<String>ID is the document id.
name: Option<String>Name is the document’s display name.
num_pages: Option<i32>NumPages is the page count, null when it was not supplied at upload.
type: Option<String>Type is the document’s kind, null when it was not recorded.
updated_at: Option<i32>UpdatedAt is when the document row last changed, in unix milliseconds.
Implementations§
Source§impl DataroomDocument
impl DataroomDocument
pub fn new() -> DataroomDocument
Trait Implementations§
Source§impl Clone for DataroomDocument
impl Clone for DataroomDocument
Source§fn clone(&self) -> DataroomDocument
fn clone(&self) -> DataroomDocument
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 DataroomDocument
impl Debug for DataroomDocument
Source§impl Default for DataroomDocument
impl Default for DataroomDocument
Source§fn default() -> DataroomDocument
fn default() -> DataroomDocument
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DataroomDocument
impl<'de> Deserialize<'de> for DataroomDocument
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
Source§impl PartialEq for DataroomDocument
impl PartialEq for DataroomDocument
Source§impl Serialize for DataroomDocument
impl Serialize for DataroomDocument
impl StructuralPartialEq for DataroomDocument
Auto Trait Implementations§
impl Freeze for DataroomDocument
impl RefUnwindSafe for DataroomDocument
impl Send for DataroomDocument
impl Sync for DataroomDocument
impl Unpin for DataroomDocument
impl UnsafeUnpin for DataroomDocument
impl UnwindSafe for DataroomDocument
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