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§
source§impl Subscription
impl Subscription
Trait Implementations§
source§impl Clone for Subscription
impl Clone for Subscription
source§fn clone(&self) -> Subscription
fn clone(&self) -> Subscription
Returns a copy 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 Subscription
impl Debug for Subscription
source§impl Default for Subscription
impl Default for Subscription
source§fn default() -> Subscription
fn default() -> Subscription
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Subscription
impl<'de> Deserialize<'de> for Subscription
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
source§impl PartialEq<Subscription> for Subscription
impl PartialEq<Subscription> for Subscription
source§fn eq(&self, other: &Subscription) -> bool
fn eq(&self, other: &Subscription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.