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 Freeze for RuntimeSnapshot
impl RefUnwindSafe for RuntimeSnapshot
impl Send for RuntimeSnapshot
impl Sync for RuntimeSnapshot
impl Unpin for RuntimeSnapshot
impl UnsafeUnpin for RuntimeSnapshot
impl UnwindSafe for RuntimeSnapshot
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