#[non_exhaustive]pub struct RosterRecords {
pub kind: String,
pub revision: String,
pub writable: bool,
pub records: Vec<RosterRecord>,
}Expand description
The records of one kind.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: Stringoperations, agents, roles, covers or assistant (at most one record, keyed
settings).
revision: StringThe roster revision they were read at, in decimal; Stations report the revision they run at check-in.
writable: boolWhether the source takes edits.
records: Vec<RosterRecord>The records, by key.
Trait Implementations§
Source§impl Clone for RosterRecords
impl Clone for RosterRecords
Source§impl Debug for RosterRecords
impl Debug for RosterRecords
Source§impl PartialEq for RosterRecords
impl PartialEq for RosterRecords
Source§impl Serialize for RosterRecords
impl Serialize for RosterRecords
impl StructuralPartialEq for RosterRecords
Auto Trait Implementations§
impl Freeze for RosterRecords
impl RefUnwindSafe for RosterRecords
impl Send for RosterRecords
impl Sync for RosterRecords
impl Unpin for RosterRecords
impl UnsafeUnpin for RosterRecords
impl UnwindSafe for RosterRecords
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.