pub struct FolderWithIdRequestModel {
pub name: String,
pub id: Option<Uuid>,
}
Fields§
§name: String
§id: Option<Uuid>
Implementations§
Source§impl FolderWithIdRequestModel
impl FolderWithIdRequestModel
pub fn new(name: String) -> FolderWithIdRequestModel
Trait Implementations§
Source§impl Clone for FolderWithIdRequestModel
impl Clone for FolderWithIdRequestModel
Source§fn clone(&self) -> FolderWithIdRequestModel
fn clone(&self) -> FolderWithIdRequestModel
Returns a copy 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 FolderWithIdRequestModel
impl Debug for FolderWithIdRequestModel
Source§impl Default for FolderWithIdRequestModel
impl Default for FolderWithIdRequestModel
Source§fn default() -> FolderWithIdRequestModel
fn default() -> FolderWithIdRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FolderWithIdRequestModel
impl<'de> Deserialize<'de> for FolderWithIdRequestModel
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 FolderWithIdRequestModel
impl PartialEq for FolderWithIdRequestModel
Source§impl Serialize for FolderWithIdRequestModel
impl Serialize for FolderWithIdRequestModel
impl StructuralPartialEq for FolderWithIdRequestModel
Auto Trait Implementations§
impl Freeze for FolderWithIdRequestModel
impl RefUnwindSafe for FolderWithIdRequestModel
impl Send for FolderWithIdRequestModel
impl Sync for FolderWithIdRequestModel
impl Unpin for FolderWithIdRequestModel
impl UnwindSafe for FolderWithIdRequestModel
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