pub struct Namespace { /* private fields */ }
Implementations§
Source§impl Namespace
impl Namespace
Sourcepub fn size(&self) -> Option<usize>
pub fn size(&self) -> Option<usize>
Returns the total size for all images in this namespace
Note that the size is only present if the namespace is retrieved using
Registry::namespace
Sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Returns the user-defined description of the namespace
Sourcepub fn organization_id(&self) -> &str
pub fn organization_id(&self) -> &str
Returns the unique organization id
Sourcepub fn status_message(&self) -> &str
pub fn status_message(&self) -> &str
Returns status_message
pub fn is_public(&self) -> bool
Sourcepub fn created_at(&self) -> DateTime<Utc>
pub fn created_at(&self) -> DateTime<Utc>
Returns created_at
Sourcepub fn updated_at(&self) -> DateTime<Utc>
pub fn updated_at(&self) -> DateTime<Utc>
Returns updated_at
Sourcepub fn image_count(&self) -> usize
pub fn image_count(&self) -> usize
Returns image_count
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Namespace
impl<'de> Deserialize<'de> for Namespace
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
Auto Trait Implementations§
impl Freeze for Namespace
impl RefUnwindSafe for Namespace
impl Send for Namespace
impl Sync for Namespace
impl Unpin for Namespace
impl UnwindSafe for Namespace
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