pub struct Organization {Show 14 fields
pub name: String,
pub fullname: Option<String>,
pub avatar_url: Option<String>,
pub org_type: Option<String>,
pub details: Option<String>,
pub is_verified: Option<bool>,
pub is_following: Option<bool>,
pub num_users: Option<u64>,
pub num_models: Option<u64>,
pub num_spaces: Option<u64>,
pub num_datasets: Option<u64>,
pub num_followers: Option<u64>,
pub num_papers: Option<u64>,
pub plan: Option<String>,
}Expand description
A Hugging Face Hub organization.
Returned by HFClient::organization_overview.
Fields§
§name: StringHub handle (slug) of the organization — the name used in URLs such as
https://huggingface.co/<name>.
fullname: Option<String>Display name as shown on the organization’s profile, when set.
avatar_url: Option<String>URL to the organization’s avatar image.
org_type: Option<String>Account type, typically "org".
details: Option<String>Free-text description shown on the organization’s profile.
is_verified: Option<bool>Whether the organization is verified.
is_following: Option<bool>Whether the authenticated caller follows this organization.
num_users: Option<u64>Number of members in the organization.
num_models: Option<u64>Number of models owned by the organization.
num_spaces: Option<u64>Number of Spaces owned by the organization.
num_datasets: Option<u64>Number of datasets owned by the organization.
num_followers: Option<u64>Number of followers of the organization.
num_papers: Option<u64>Number of papers authored by the organization.
plan: Option<String>Plan identifier (e.g., "enterprise", "team").
Trait Implementations§
Source§impl Clone for Organization
impl Clone for Organization
Source§fn clone(&self) -> Organization
fn clone(&self) -> Organization
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Organization
impl Debug for Organization
Source§impl<'de> Deserialize<'de> for Organization
impl<'de> Deserialize<'de> for Organization
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>,
Auto Trait Implementations§
impl Freeze for Organization
impl RefUnwindSafe for Organization
impl Send for Organization
impl Sync for Organization
impl Unpin for Organization
impl UnsafeUnpin for Organization
impl UnwindSafe for Organization
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more