pub struct InventoryItem {
pub proxy_resource: ProxyResource,
pub properties: Option<InventoryItemPropertiesUnion>,
pub kind: Option<String>,
}Expand description
Defines the inventory item.
Fields§
§proxy_resource: ProxyResource§properties: Option<InventoryItemPropertiesUnion>Defines the resource properties.
kind: Option<String>Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
Implementations§
Source§impl InventoryItem
impl InventoryItem
Trait Implementations§
Source§impl Clone for InventoryItem
impl Clone for InventoryItem
Source§fn clone(&self) -> InventoryItem
fn clone(&self) -> InventoryItem
Returns a duplicate 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 InventoryItem
impl Debug for InventoryItem
Source§impl Default for InventoryItem
impl Default for InventoryItem
Source§fn default() -> InventoryItem
fn default() -> InventoryItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InventoryItem
impl<'de> Deserialize<'de> for InventoryItem
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 InventoryItem
impl PartialEq for InventoryItem
Source§impl Serialize for InventoryItem
impl Serialize for InventoryItem
impl StructuralPartialEq for InventoryItem
Auto Trait Implementations§
impl Freeze for InventoryItem
impl RefUnwindSafe for InventoryItem
impl Send for InventoryItem
impl Sync for InventoryItem
impl Unpin for InventoryItem
impl UnwindSafe for InventoryItem
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