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>,
}
Fields
id: Option<String>
subscription_id: Option<String>
display_name: Option<String>
tenant_id: Option<String>
state: Option<State>
subscription_policies: Option<SubscriptionPolicies>
managed_by_tenants: Vec<ManagedByTenant>
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more