pub struct UsageResponse {
pub object: String,
pub data: Vec<UsageTimeBucket>,
pub has_more: bool,
pub next_page: Option<String>,
}Expand description
Response structure for organization usage endpoints.
Fields§
§object: StringThe object type, which is always page.
data: Vec<UsageTimeBucket>List of time buckets containing usage data.
has_more: boolWhether there are more pages available.
next_page: Option<String>Cursor for the next page.
Trait Implementations§
Source§impl Clone for UsageResponse
impl Clone for UsageResponse
Source§fn clone(&self) -> UsageResponse
fn clone(&self) -> UsageResponse
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 UsageResponse
impl Debug for UsageResponse
Source§impl<'de> Deserialize<'de> for UsageResponse
impl<'de> Deserialize<'de> for UsageResponse
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 UsageResponse
impl RefUnwindSafe for UsageResponse
impl Send for UsageResponse
impl Sync for UsageResponse
impl Unpin for UsageResponse
impl UnwindSafe for UsageResponse
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