pub struct ShareLibraries {
pub server_id: String,
pub libraries: Vec<LibraryId>,
}Expand description
An admin’s ShareLibraries (client protocol, P8-03): share libraries
of this server with a paired one, as the QR flow offers once the pair
is made. Every user of the paired server may browse and watch them.
Fields§
§server_id: StringThe paired server’s crate::ServerId, as ServerPaired gave it.
libraries: Vec<LibraryId>At most MAX_SHARED; the rest are left out.
Implementations§
Sourcepub fn within_bounds(self) -> Self
pub fn within_bounds(self) -> Self
This request with at most MAX_SHARED libraries: what a server
reads of it.
Trait Implementations§
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§
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