pub struct LibraryServer {
pub server_id: String,
pub name: String,
pub online: bool,
}Expand description
The server a library of another server’s is shared from, so a client groups libraries by server, an offline one last and greyed.
Fields§
§server_id: StringIts server id: the origin a fed: id names.
name: StringWhat it calls itself.
online: boolWhether this server is connected to it now. Offline, what it shared is still browsed from the cache, and its items do not play.
Trait Implementations§
Source§impl Clone for LibraryServer
impl Clone for LibraryServer
Source§impl Debug for LibraryServer
impl Debug for LibraryServer
Source§impl<'de> Deserialize<'de> for LibraryServer
impl<'de> Deserialize<'de> for LibraryServer
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
impl Eq for LibraryServer
Source§impl Hash for LibraryServer
impl Hash for LibraryServer
Source§impl PartialEq for LibraryServer
impl PartialEq for LibraryServer
Source§impl Serialize for LibraryServer
impl Serialize for LibraryServer
impl StructuralPartialEq for LibraryServer
Auto Trait Implementations§
impl Forget for LibraryServer
impl Freeze for LibraryServer
impl Move for LibraryServer
impl RefUnwindSafe for LibraryServer
impl Send for LibraryServer
impl Sync for LibraryServer
impl Unpin for LibraryServer
impl UnsafeUnpin for LibraryServer
impl UnwindSafe for LibraryServer
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