pub struct UpdateFileDto {
pub name: Option<String>,
}
Fields§
§name: Option<String>
This is the name of the file. This is just for your own reference.
Implementations§
Source§impl UpdateFileDto
impl UpdateFileDto
pub fn new() -> UpdateFileDto
Trait Implementations§
Source§impl Clone for UpdateFileDto
impl Clone for UpdateFileDto
Source§fn clone(&self) -> UpdateFileDto
fn clone(&self) -> UpdateFileDto
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UpdateFileDto
impl Debug for UpdateFileDto
Source§impl Default for UpdateFileDto
impl Default for UpdateFileDto
Source§fn default() -> UpdateFileDto
fn default() -> UpdateFileDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateFileDto
impl<'de> Deserialize<'de> for UpdateFileDto
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 UpdateFileDto
impl PartialEq for UpdateFileDto
Source§impl Serialize for UpdateFileDto
impl Serialize for UpdateFileDto
impl StructuralPartialEq for UpdateFileDto
Auto Trait Implementations§
impl Freeze for UpdateFileDto
impl RefUnwindSafe for UpdateFileDto
impl Send for UpdateFileDto
impl Sync for UpdateFileDto
impl Unpin for UpdateFileDto
impl UnwindSafe for UpdateFileDto
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