pub struct Resource {
pub id: Option<String>,
pub name: Option<String>,
pub type_: Option<String>,
pub location: Option<String>,
pub extended_location: Option<ExtendedLocation>,
pub tags: Option<Value>,
}
Expand description
Specified resource.
Fields
id: Option<String>
Resource ID
name: Option<String>
Resource name
type_: Option<String>
Resource type
location: Option<String>
Resource location
extended_location: Option<ExtendedLocation>
Resource extended location.
Resource tags
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Resource
impl<'de> Deserialize<'de> for Resource
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
impl StructuralPartialEq for Resource
Auto Trait Implementations
impl RefUnwindSafe for Resource
impl Send for Resource
impl Sync for Resource
impl Unpin for Resource
impl UnwindSafe for Resource
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