pub struct RuntimeSnapshot {
pub revision: u64,
pub selection: ModelSelection,
pub models: Vec<Model>,
pub auth: BTreeMap<String, AuthState>,
pub warnings: Vec<String>,
}Expand description
Credential-free state suitable for serving to a UI or observing over watch.
Fields§
§revision: u64§selection: ModelSelection§models: Vec<Model>§auth: BTreeMap<String, AuthState>§warnings: Vec<String>Trait Implementations§
Source§impl Clone for RuntimeSnapshot
impl Clone for RuntimeSnapshot
Source§impl Debug for RuntimeSnapshot
impl Debug for RuntimeSnapshot
Auto Trait Implementations§
impl Forget for RuntimeSnapshot
impl Freeze for RuntimeSnapshotwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Model>: Freeze,
*const LeafNode<String, AuthState> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, AuthState)>>: Freeze,
PhantomData<String>: Freeze,
impl Move for RuntimeSnapshot
impl RefUnwindSafe for RuntimeSnapshot
impl Send for RuntimeSnapshotwhere
RawVecInner: Send,
NodeRef<Owned, ThinkingLevel, Option<String>, LeafOrInternal>: Send,
BoxRaw<(ThinkingLevel, Option<String>)>: Send,
RawTable<usize>: Send,
NodeRef<Owned, String, String, LeafOrInternal>: Send,
BoxRaw<(String, String)>: Send,
NodeRef<Owned, String, AuthState, LeafOrInternal>: Send,
BoxRaw<(String, AuthState)>: Send,
impl Sync for RuntimeSnapshotwhere
RawVecInner: Sync,
NodeRef<Owned, ThinkingLevel, Option<String>, LeafOrInternal>: Sync,
BoxRaw<(ThinkingLevel, Option<String>)>: Sync,
RawTable<usize>: Sync,
NodeRef<Owned, String, String, LeafOrInternal>: Sync,
BoxRaw<(String, String)>: Sync,
NodeRef<Owned, String, AuthState, LeafOrInternal>: Sync,
BoxRaw<(String, AuthState)>: Sync,
impl Unpin for RuntimeSnapshotwhere
*const u8 is !null: Unpin,
*const LeafNode<ThinkingLevel, Option<String>> is !null: Unpin,
Box<(ThinkingLevel, Option<String>)>: Unpin,
*const LeafNode<String, String> is !null: Unpin,
Box<(String, String)>: Unpin,
*const LeafNode<String, AuthState> is !null: Unpin,
Box<(String, AuthState)>: Unpin,
impl UnsafeUnpin for RuntimeSnapshotwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Model>: UnsafeUnpin,
*const LeafNode<String, AuthState> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, AuthState)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for RuntimeSnapshotwhere
RawVecInner: UnwindSafe,
BTreeMap<ThinkingLevel, Option<String>>: UnwindSafe,
NonNull<u8>: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<String, AuthState>: UnwindSafe,
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