pub struct FileUpdate {
pub name: Option<Option<String>>,
pub sort_key: Option<Option<i64>>,
pub copy_to: Option<FileUpdateCopyTo>,
pub extra: Map<String, Value>,
}Expand description
Updates one file and optionally copies it to another attachment context.
Fields§
§name: Option<Option<String>>Display name assigned to every matching file.
None leaves the field out, Some(None) sends null.
sort_key: Option<Option<i64>>Sort key assigned to every matching file.
None leaves the field out, Some(None) sends null.
copy_to: Option<FileUpdateCopyTo>Target attachment context to which the file is copied.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for FileUpdate
impl Clone for FileUpdate
Source§impl Debug for FileUpdate
impl Debug for FileUpdate
Source§impl Default for FileUpdate
impl Default for FileUpdate
Source§impl<'de> Deserialize<'de> for FileUpdate
impl<'de> Deserialize<'de> for FileUpdate
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 FileUpdate
impl PartialEq for FileUpdate
Source§impl Serialize for FileUpdate
impl Serialize for FileUpdate
impl StructuralPartialEq for FileUpdate
Auto Trait Implementations§
impl Freeze for FileUpdate
impl RefUnwindSafe for FileUpdate
impl Send for FileUpdate
impl Sync for FileUpdate
impl Unpin for FileUpdate
impl UnsafeUnpin for FileUpdate
impl UnwindSafe for FileUpdate
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