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
sourceimpl Clone for GenericResource
impl Clone for GenericResource
sourcefn clone(&self) -> GenericResource
fn clone(&self) -> GenericResource
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 GenericResource
impl Debug for GenericResource
sourceimpl Default for GenericResource
impl Default for GenericResource
sourcefn default() -> GenericResource
fn default() -> GenericResource
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GenericResource
impl<'de> Deserialize<'de> for GenericResource
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<GenericResource> for GenericResource
impl PartialEq<GenericResource> for GenericResource
sourcefn eq(&self, other: &GenericResource) -> bool
fn eq(&self, other: &GenericResource) -> bool
sourceimpl Serialize for GenericResource
impl Serialize for GenericResource
impl StructuralPartialEq for GenericResource
Auto Trait Implementations
impl RefUnwindSafe for GenericResource
impl Send for GenericResource
impl Sync for GenericResource
impl Unpin for GenericResource
impl UnwindSafe for GenericResource
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