pub struct ProjectFileProperties {
pub extension: Option<String>,
pub file_path: Option<String>,
pub last_modified: Option<OffsetDateTime>,
pub media_type: Option<String>,
pub size: Option<i64>,
}Expand description
Base class for file properties.
Fields§
§extension: Option<String>Optional File extension. If submitted it should not have a leading period and must match the extension from filePath.
file_path: Option<String>Relative path of this file resource. This property can be set when creating or updating the file resource.
last_modified: Option<OffsetDateTime>Modification DateTime.
media_type: Option<String>File content type. This property can be modified to reflect the file content type.
size: Option<i64>File size.
Implementations§
Trait Implementations§
Source§impl Clone for ProjectFileProperties
impl Clone for ProjectFileProperties
Source§fn clone(&self) -> ProjectFileProperties
fn clone(&self) -> ProjectFileProperties
Returns a duplicate of the value. Read more
1.0.0 · 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 ProjectFileProperties
impl Debug for ProjectFileProperties
Source§impl Default for ProjectFileProperties
impl Default for ProjectFileProperties
Source§fn default() -> ProjectFileProperties
fn default() -> ProjectFileProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectFileProperties
impl<'de> Deserialize<'de> for ProjectFileProperties
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 ProjectFileProperties
impl PartialEq for ProjectFileProperties
Source§impl Serialize for ProjectFileProperties
impl Serialize for ProjectFileProperties
impl StructuralPartialEq for ProjectFileProperties
Auto Trait Implementations§
impl Freeze for ProjectFileProperties
impl RefUnwindSafe for ProjectFileProperties
impl Send for ProjectFileProperties
impl Sync for ProjectFileProperties
impl Unpin for ProjectFileProperties
impl UnwindSafe for ProjectFileProperties
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