pub struct LibraryUpdate {
pub name: Option<String>,
pub description: Option<String>,
pub enabled: Option<bool>,
pub body: Option<String>,
pub skills: Option<Vec<String>>,
}Fields§
§name: Option<String>§description: Option<String>§enabled: Option<bool>§body: Option<String>§skills: Option<Vec<String>>Trait Implementations§
Source§impl Default for LibraryUpdate
impl Default for LibraryUpdate
Source§impl<'de> Deserialize<'de> for LibraryUpdate
impl<'de> Deserialize<'de> for LibraryUpdate
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 LibraryUpdate
impl RefUnwindSafe for LibraryUpdate
impl Send for LibraryUpdate
impl Sync for LibraryUpdate
impl Unpin for LibraryUpdate
impl UnsafeUnpin for LibraryUpdate
impl UnwindSafe for LibraryUpdate
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