pub struct StaticAdminSnapshot {
pub snapshot: AdminSnapshot,
}Expand description
A AdminSnapshotProvider backed by a fixed snapshot. Useful in tests
that exercise admin endpoints without a full runtime.
Fields§
§snapshot: AdminSnapshotTrait Implementations§
Source§impl AdminSnapshotProvider for StaticAdminSnapshot
impl AdminSnapshotProvider for StaticAdminSnapshot
fn snapshot(&self) -> AdminSnapshot
Auto Trait Implementations§
impl !RefUnwindSafe for StaticAdminSnapshot
impl !UnwindSafe for StaticAdminSnapshot
impl Freeze for StaticAdminSnapshot
impl Send for StaticAdminSnapshot
impl Sync for StaticAdminSnapshot
impl Unpin for StaticAdminSnapshot
impl UnsafeUnpin for StaticAdminSnapshot
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