pub struct Subscription {
pub id: Option<String>,
pub subscription_id: Option<String>,
pub display_name: Option<String>,
pub tenant_id: Option<String>,
pub state: Option<State>,
pub subscription_policies: Option<SubscriptionPolicies>,
pub authorization_source: Option<String>,
pub managed_by_tenants: Vec<ManagedByTenant>,
pub tags: Option<Value>,
}
Expand description
Subscription information.
Fields
id: Option<String>
The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000.
subscription_id: Option<String>
The subscription ID.
display_name: Option<String>
The subscription display name.
tenant_id: Option<String>
The subscription tenant ID.
state: Option<State>
The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.
subscription_policies: Option<SubscriptionPolicies>
Subscription policies.
The authorization source of the request. Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct and Management. For example, ‘Legacy, RoleBased’.
managed_by_tenants: Vec<ManagedByTenant>
An array containing the tenants managing the subscription.
The tags attached to the subscription.
Implementations
sourceimpl Subscription
impl Subscription
Trait Implementations
sourceimpl Clone for Subscription
impl Clone for Subscription
sourcefn clone(&self) -> Subscription
fn clone(&self) -> Subscription
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 Subscription
impl Debug for Subscription
sourceimpl Default for Subscription
impl Default for Subscription
sourcefn default() -> Subscription
fn default() -> Subscription
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Subscription
impl<'de> Deserialize<'de> for Subscription
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<Subscription> for Subscription
impl PartialEq<Subscription> for Subscription
sourcefn eq(&self, other: &Subscription) -> bool
fn eq(&self, other: &Subscription) -> bool
sourceimpl Serialize for Subscription
impl Serialize for Subscription
impl StructuralPartialEq for Subscription
Auto Trait Implementations
impl RefUnwindSafe for Subscription
impl Send for Subscription
impl Sync for Subscription
impl Unpin for Subscription
impl UnwindSafe for Subscription
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