pub struct GovernedAuthorizationDetail {
pub detail_type: String,
pub locations: Vec<String>,
pub actions: Vec<String>,
pub purpose: Option<String>,
pub max_amount: Option<MonetaryAmount>,
pub commerce: Option<GovernedAuthorizationCommerceDetail>,
pub metered_billing: Option<GovernedAuthorizationMeteredBillingDetail>,
}Fields§
§detail_type: String§locations: Vec<String>§actions: Vec<String>§purpose: Option<String>§max_amount: Option<MonetaryAmount>§commerce: Option<GovernedAuthorizationCommerceDetail>§metered_billing: Option<GovernedAuthorizationMeteredBillingDetail>Trait Implementations§
Source§impl Clone for GovernedAuthorizationDetail
impl Clone for GovernedAuthorizationDetail
Source§fn clone(&self) -> GovernedAuthorizationDetail
fn clone(&self) -> GovernedAuthorizationDetail
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 GovernedAuthorizationDetail
impl Debug for GovernedAuthorizationDetail
Source§impl<'de> Deserialize<'de> for GovernedAuthorizationDetail
impl<'de> Deserialize<'de> for GovernedAuthorizationDetail
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
impl Eq for GovernedAuthorizationDetail
impl StructuralPartialEq for GovernedAuthorizationDetail
Auto Trait Implementations§
impl Freeze for GovernedAuthorizationDetail
impl RefUnwindSafe for GovernedAuthorizationDetail
impl Send for GovernedAuthorizationDetail
impl Sync for GovernedAuthorizationDetail
impl Unpin for GovernedAuthorizationDetail
impl UnsafeUnpin for GovernedAuthorizationDetail
impl UnwindSafe for GovernedAuthorizationDetail
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.