pub struct ProjectCreditResponse {
pub uuid: String,
pub project_uuid: String,
pub credits_granted: i32,
pub credits_consumed: Option<i32>,
pub granted_by: String,
pub granted_reason: String,
pub granted_at: String,
pub fully_consumed_at: Option<String>,
pub revoked_reason: Option<String>,
pub revoked_at: Option<String>,
}
Fields
uuid: String
project_uuid: String
credits_granted: i32
credits_consumed: Option<i32>
granted_by: String
granted_reason: String
granted_at: String
fully_consumed_at: Option<String>
revoked_reason: Option<String>
revoked_at: Option<String>
Implementations
Trait Implementations
sourceimpl Clone for ProjectCreditResponse
impl Clone for ProjectCreditResponse
sourcefn clone(&self) -> ProjectCreditResponse
fn clone(&self) -> ProjectCreditResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ProjectCreditResponse
impl Debug for ProjectCreditResponse
sourceimpl Default for ProjectCreditResponse
impl Default for ProjectCreditResponse
sourcefn default() -> ProjectCreditResponse
fn default() -> ProjectCreditResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ProjectCreditResponse
impl<'de> Deserialize<'de> for ProjectCreditResponse
sourcefn 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
sourceimpl PartialEq<ProjectCreditResponse> for ProjectCreditResponse
impl PartialEq<ProjectCreditResponse> for ProjectCreditResponse
sourcefn eq(&self, other: &ProjectCreditResponse) -> bool
fn eq(&self, other: &ProjectCreditResponse) -> bool
sourceimpl Serialize for ProjectCreditResponse
impl Serialize for ProjectCreditResponse
impl StructuralPartialEq for ProjectCreditResponse
Auto Trait Implementations
impl RefUnwindSafe for ProjectCreditResponse
impl Send for ProjectCreditResponse
impl Sync for ProjectCreditResponse
impl Unpin for ProjectCreditResponse
impl UnwindSafe for ProjectCreditResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more