pub struct Namespace {
pub path: String,
pub name: String,
pub kind: NamespaceKind,
pub full_path: String,
pub members_count_with_descendants: Option<u64>,
pub avatar_url: Option<String>,
pub web_url: String,
/* private fields */
}
👎Deprecated since 0.1609.0: define deserialization types in client code
Expand description
An entity which can own projects.
Fields§
§path: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The URL of the namespace.
name: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The name of the namespace.
kind: NamespaceKind
👎Deprecated since 0.1609.0: define deserialization types in client code
The kind of the namespace.
full_path: String
👎Deprecated since 0.1609.0: define deserialization types in client code
§members_count_with_descendants: Option<u64>
👎Deprecated since 0.1609.0: define deserialization types in client code
Number of members in the namespace and its descendants.
Only available when talking to GitLab as a user that can admin the namespace.
avatar_url: Option<String>
👎Deprecated since 0.1609.0: define deserialization types in client code
The URL of the user’s avatar if namespace is a user.
web_url: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The URL to the namespace page (user or group).
Implementations§
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