pub struct ResourceName {
pub name: String,
pub type_: String,
}
Expand description
Name and Type of the Resource
Fields§
§name: String
Name of the resource
type_: String
The type of the resource
Implementations§
Trait Implementations§
source§impl Clone for ResourceName
impl Clone for ResourceName
source§fn clone(&self) -> ResourceName
fn clone(&self) -> ResourceName
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 ResourceName
impl Debug for ResourceName
source§impl<'de> Deserialize<'de> for ResourceName
impl<'de> Deserialize<'de> for ResourceName
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 ResourceName
impl PartialEq for ResourceName
source§fn eq(&self, other: &ResourceName) -> bool
fn eq(&self, other: &ResourceName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ResourceName
impl Serialize for ResourceName
impl StructuralPartialEq for ResourceName
Auto Trait Implementations§
impl Freeze for ResourceName
impl RefUnwindSafe for ResourceName
impl Send for ResourceName
impl Sync for ResourceName
impl Unpin for ResourceName
impl UnwindSafe for ResourceName
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