pub struct UpdateFolder {
pub parent: Option<ParentInfo>,
pub edited: Option<u64>,
pub cse_type: Option<String>,
pub cse_key: Option<String>,
pub hidden: Option<bool>,
pub favorite: Option<bool>,
/* private fields */
}
Expand description
Builder to update Folder, the values in the builder are optional values
Fields§
§parent: Option<ParentInfo>
§edited: Option<u64>
§cse_type: Option<String>
§cse_key: Option<String>
§favorite: Option<bool>
Implementations§
Source§impl UpdateFolder
impl UpdateFolder
pub fn new(id: Uuid, label: String) -> Self
pub fn parent(self, parent: ParentInfo) -> Self
pub fn edited(self, edited: u64) -> Self
pub fn cse_type(self, cse_type: String) -> Self
pub fn cse_key(self, cse_key: String) -> Self
pub fn favorite(self, favorite: bool) -> Self
Trait Implementations§
Source§impl Debug for UpdateFolder
impl Debug for UpdateFolder
Source§impl<'de> Deserialize<'de> for UpdateFolder
impl<'de> Deserialize<'de> for UpdateFolder
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
Auto Trait Implementations§
impl Freeze for UpdateFolder
impl RefUnwindSafe for UpdateFolder
impl Send for UpdateFolder
impl Sync for UpdateFolder
impl Unpin for UpdateFolder
impl UnwindSafe for UpdateFolder
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