pub struct OrgProfile {
pub id: String,
pub name: String,
pub plan_id: String,
pub region: String,
pub created_at: String,
pub credits: String,
}Expand description
Organization profile returned by GET /api/v1/orgs/me.
Fields§
§id: StringOrganization identifier.
name: StringOrganization display name.
plan_id: StringPlan identifier (payg, teams, etc.).
region: StringOrganization region code.
created_at: StringISO-8601 creation timestamp.
credits: StringCurrent credit balance as a string (server preserves precision).
Trait Implementations§
Source§impl Clone for OrgProfile
impl Clone for OrgProfile
Source§fn clone(&self) -> OrgProfile
fn clone(&self) -> OrgProfile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrgProfile
impl Debug for OrgProfile
Source§impl<'de> Deserialize<'de> for OrgProfile
impl<'de> Deserialize<'de> for OrgProfile
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 OrgProfile
impl RefUnwindSafe for OrgProfile
impl Send for OrgProfile
impl Sync for OrgProfile
impl Unpin for OrgProfile
impl UnsafeUnpin for OrgProfile
impl UnwindSafe for OrgProfile
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