pub struct HostedStore {
pub store_id: String,
pub pinned: bool,
pub capsule_count: u64,
pub total_bytes: u64,
pub capsules: Vec<CapsuleEntry>,
}Expand description
One hosted/pinned store (control.hostedStores.list).
Fields§
§store_id: StringThe canonical lowercase 64-hex store id.
pinned: boolWhether the operator has pinned this store.
capsule_count: u64The number of cached capsules of this store.
total_bytes: u64The total cached bytes across this store’s capsules.
capsules: Vec<CapsuleEntry>The cached capsules of this store.
Trait Implementations§
Source§impl Clone for HostedStore
impl Clone for HostedStore
Source§fn clone(&self) -> HostedStore
fn clone(&self) -> HostedStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HostedStore
impl Debug for HostedStore
Source§impl<'de> Deserialize<'de> for HostedStore
impl<'de> Deserialize<'de> for HostedStore
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HostedStore
Source§impl PartialEq for HostedStore
impl PartialEq for HostedStore
Source§impl Serialize for HostedStore
impl Serialize for HostedStore
impl StructuralPartialEq for HostedStore
Auto Trait Implementations§
impl Freeze for HostedStore
impl RefUnwindSafe for HostedStore
impl Send for HostedStore
impl Sync for HostedStore
impl Unpin for HostedStore
impl UnsafeUnpin for HostedStore
impl UnwindSafe for HostedStore
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