pub struct ServerLibraryForUpdate {
pub name: Option<String>,
pub source: Option<String>,
pub root: Option<String>,
pub settings: Option<ServerLibrarySettingsPatch>,
pub credentials: Option<String>,
pub plugin: Option<String>,
pub password: Option<()>,
}Expand description
A change to a library (PATCH /libraries/{id}): what is left out is kept.
Fields§
§name: Option<String>§source: Option<String>§root: Option<String>§settings: Option<ServerLibrarySettingsPatch>Merged into the stored settings: the settings it does not name are kept.
credentials: Option<String>§plugin: Option<String>§password: Option<()>Never sent: a password key is refused, the password changes through the
library’s encryption (LibraryEncryptionRequest).
Trait Implementations§
Source§impl Clone for ServerLibraryForUpdate
impl Clone for ServerLibraryForUpdate
Source§impl Debug for ServerLibraryForUpdate
impl Debug for ServerLibraryForUpdate
Source§impl Default for ServerLibraryForUpdate
impl Default for ServerLibraryForUpdate
Source§impl<'de> Deserialize<'de> for ServerLibraryForUpdate
impl<'de> Deserialize<'de> for ServerLibraryForUpdate
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 Forget for ServerLibraryForUpdate
impl Freeze for ServerLibraryForUpdate
impl Move for ServerLibraryForUpdate
impl RefUnwindSafe for ServerLibraryForUpdate
impl Send for ServerLibraryForUpdatewhere
RawVecInner: Send,
impl Sync for ServerLibraryForUpdatewhere
RawVecInner: Sync,
impl Unpin for ServerLibraryForUpdate
impl UnsafeUnpin for ServerLibraryForUpdatewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<UserMapping>: UnsafeUnpin,
impl UnwindSafe for ServerLibraryForUpdatewhere
RawVecInner: UnwindSafe,
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