pub struct GenericResource {
pub resource: Resource,
pub plan: Option<Plan>,
pub properties: Option<Value>,
pub kind: Option<String>,
pub managed_by: Option<String>,
pub sku: Option<Sku>,
pub identity: Option<Identity>,
}
Expand description
Resource information.
Fields§
§resource: Resource
§plan: Option<Plan>
Plan for the resource.
properties: Option<Value>
The resource properties.
kind: Option<String>
The kind of the resource.
managed_by: Option<String>
ID of the resource that manages this resource.
sku: Option<Sku>
SKU for the resource.
identity: Option<Identity>
Identity for the resource.
Implementations§
Trait Implementations§
source§impl Clone for GenericResource
impl Clone for GenericResource
source§fn clone(&self) -> GenericResource
fn clone(&self) -> GenericResource
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 GenericResource
impl Debug for GenericResource
source§impl Default for GenericResource
impl Default for GenericResource
source§fn default() -> GenericResource
fn default() -> GenericResource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GenericResource
impl<'de> Deserialize<'de> for GenericResource
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<GenericResource> for GenericResource
impl PartialEq<GenericResource> for GenericResource
source§fn eq(&self, other: &GenericResource) -> bool
fn eq(&self, other: &GenericResource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.