pub struct RoomAsk {
pub room_bytes: u64,
pub seats: u32,
pub from_seat: bool,
pub cap: Option<u64>,
pub stored: u64,
pub order: String,
pub dry_run: bool,
}Expand description
What an enrolment asks of the account’s room (“Add users”).
Fields§
§room_bytes: u64Bytes per employee or seat. Ignored for a seat claim: the seat’s.
seats: u32Seats to grant, unnamed. 0: one named employee.
from_seat: boolFill an open seat with the named employee instead of asking for room.
cap: Option<u64>The account’s room: its cap. None: nothing caps this account on
this server.
stored: u64What the account stores now, bytes (counted against cap).
order: StringThe order this belongs to (idempotency); empty: none.
dry_run: boolAsk, write nothing.
Trait Implementations§
impl Eq for RoomAsk
impl StructuralPartialEq for RoomAsk
Auto Trait Implementations§
impl Freeze for RoomAsk
impl RefUnwindSafe for RoomAsk
impl Send for RoomAsk
impl Sync for RoomAsk
impl Unpin for RoomAsk
impl UnsafeUnpin for RoomAsk
impl UnwindSafe for RoomAsk
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.