pub struct StoredClients {
pub groups: Vec<ClientGroupRecord>,
pub clients: Vec<ClientRecord>,
pub deleted_clients: Vec<ClientIdPair>,
pub profile_id: String,
}Expand description
What a database holds besides the groups’ data, read when it opens.
Fields§
§groups: Vec<ClientGroupRecord>In the order they were added: a client joins the first that fits.
clients: Vec<ClientRecord>The clients, in the order they were added.
deleted_clients: Vec<ClientIdPair>The deleted clients the server may not know about yet.
profile_id: StringThe profile ID of the device (profileID): one for every database
of the backend.
Trait Implementations§
Source§impl Clone for StoredClients
impl Clone for StoredClients
Source§impl Debug for StoredClients
impl Debug for StoredClients
Source§impl Default for StoredClients
impl Default for StoredClients
Source§impl PartialEq for StoredClients
impl PartialEq for StoredClients
impl StructuralPartialEq for StoredClients
Auto Trait Implementations§
impl Forget for StoredClients
impl Freeze for StoredClients
impl Move for StoredClients
impl RefUnwindSafe for StoredClients
impl Send for StoredClients
impl Sync for StoredClients
impl Unpin for StoredClients
impl UnsafeUnpin for StoredClients
impl UnwindSafe for StoredClients
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