[][src]Struct scaleway_sdk::registry::Namespace

pub struct Namespace { /* fields omitted */ }

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]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.