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 for GenericResource
impl PartialEq 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 ==
.source§impl Serialize for GenericResource
impl Serialize for GenericResource
impl StructuralPartialEq for GenericResource
Auto Trait Implementations§
impl Freeze for GenericResource
impl RefUnwindSafe for GenericResource
impl Send for GenericResource
impl Sync for GenericResource
impl Unpin for GenericResource
impl UnwindSafe for GenericResource
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