[−][src]Struct scaleway_sdk::registry::Namespace
Methods
impl Namespace
[src]
pub fn id(&self) -> &str
[src]
Returns the unique id of the namespace
pub fn name(&self) -> &str
[src]
Returns the name of the namespace
pub fn size(&self) -> Option<usize>
[src]
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
pub fn description(&self) -> &str
[src]
Returns the user-defined description of the namespace
pub fn organization_id(&self) -> &str
[src]
Returns the unique organization id
pub fn status(&self) -> Status
[src]
Returns the namespace status
pub fn status_message(&self) -> &str
[src]
Returns status_message
pub fn endpoint(&self) -> &str
[src]
Returns endpoint
pub fn is_public(&self) -> bool
[src]
pub fn created_at(&self) -> DateTime<Utc>
[src]
Returns created_at
pub fn updated_at(&self) -> DateTime<Utc>
[src]
Returns updated_at
pub fn image_count(&self) -> usize
[src]
Returns image_count
Trait Implementations
impl Clone for Namespace
[src]
impl Debug for Namespace
[src]
impl<'de> Deserialize<'de> for Namespace
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Namespace
impl Send for Namespace
impl Sync for Namespace
impl Unpin for Namespace
impl UnwindSafe for Namespace
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,