#[non_exhaustive]pub struct Organization {
pub uuid: String,
pub name: Option<String>,
pub organization_type: Option<String>,
pub billing_type: Option<String>,
pub rate_limit_tier: Option<String>,
pub has_extra_usage_enabled: Option<bool>,
pub subscription_status: Option<String>,
pub extra: Extra,
}Expand description
The organization a token acts for.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.uuid: StringThe organization’s id: the org argument of the org-scoped calls.
name: Option<String>Its name.
organization_type: Option<String>Its type (claude_pro, claude_max, claude_team, …).
billing_type: Option<String>How it is billed.
rate_limit_tier: Option<String>Its rate-limit tier.
has_extra_usage_enabled: Option<bool>Whether extra usage is turned on for it.
subscription_status: Option<String>The subscription’s status (active, …).
extra: ExtraAnything else.
Trait Implementations§
Source§impl Clone for Organization
impl Clone for Organization
Source§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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Organization
impl PartialEq for Organization
impl StructuralPartialEq for Organization
Auto Trait Implementations§
impl Forget for Organization
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
Mutably borrows from an owned value. Read more