pub struct ServerLibrary {
pub id: String,
pub name: String,
pub source: String,
pub root: Option<String>,
pub kind: LibraryType,
pub crypt: Option<bool>,
pub settings: ServerLibrarySettings,
pub credentials: Option<String>,
pub plugin: Option<String>,
pub password: Option<String>,
pub hidden: bool,
}Fields§
§id: String§name: String§source: String§root: Option<String>§kind: LibraryType§crypt: Option<bool>§settings: ServerLibrarySettings§credentials: Option<String>§plugin: Option<String>§password: Option<String>Implementations§
Source§impl ServerLibrary
impl ServerLibrary
pub fn is_virtual(&self) -> bool
Trait Implementations§
Source§impl Clone for ServerLibrary
impl Clone for ServerLibrary
Source§impl Debug for ServerLibrary
impl Debug for ServerLibrary
Source§impl Default for ServerLibrary
impl Default for ServerLibrary
Source§impl<'de> Deserialize<'de> for ServerLibrary
impl<'de> Deserialize<'de> for ServerLibrary
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 ServerLibrary
impl Freeze for ServerLibrary
impl Move for ServerLibrary
impl RefUnwindSafe for ServerLibrary
impl Send for ServerLibrarywhere
RawVecInner: Send,
impl Sync for ServerLibrarywhere
RawVecInner: Sync,
impl Unpin for ServerLibrary
impl UnsafeUnpin for ServerLibrarywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<UserMapping>: UnsafeUnpin,
impl UnwindSafe for ServerLibrarywhere
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