pub struct BaseView {
pub bytes: Option<i32>,
pub exists: Option<bool>,
pub org: Option<String>,
}Fields§
§bytes: Option<i32>Bytes is the store’s size on disk, present only once it exists. It is what this Base occupies, not a quota.
exists: Option<bool>Exists reports whether this Base’s store has been provisioned. False is an org nobody has stored anything for yet, which is a state to name rather than an error: the store is created the first time anything writes.
org: Option<String>Org is the org this Base belongs to. It is the address every other Base call is scoped by, and a Base has no name of its own.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BaseView
impl<'de> Deserialize<'de> for BaseView
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 StructuralPartialEq for BaseView
Auto Trait Implementations§
impl Freeze for BaseView
impl RefUnwindSafe for BaseView
impl Send for BaseView
impl Sync for BaseView
impl Unpin for BaseView
impl UnsafeUnpin for BaseView
impl UnwindSafe for BaseView
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