pub struct ServerRow {
pub server: LibraryServer,
pub shown: bool,
pub items: Vec<Item>,
}Expand description
A paired server’s row on Home.
Fields§
§server: LibraryServer§shown: boolWhether the user shows it (SetServerRow); a row not shown has no
items.
items: Vec<Item>What it shared most recently first, as this server cached it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ServerRow
impl<'de> Deserialize<'de> for ServerRow
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 ServerRow
impl StructuralPartialEq for ServerRow
Auto Trait Implementations§
impl Freeze for ServerRow
impl RefUnwindSafe for ServerRow
impl Send for ServerRow
impl Sync for ServerRow
impl Unpin for ServerRow
impl UnsafeUnpin for ServerRow
impl UnwindSafe for ServerRow
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