pub struct TargetResource {
pub id: Option<String>,
pub resource_name: Option<String>,
pub resource_type: Option<String>,
}
Expand description
Target resource.
Fields§
§id: Option<String>
The ID of the resource.
resource_name: Option<String>
The name of the resource.
resource_type: Option<String>
The type of the resource.
Implementations§
Trait Implementations§
source§impl Clone for TargetResource
impl Clone for TargetResource
source§fn clone(&self) -> TargetResource
fn clone(&self) -> TargetResource
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 TargetResource
impl Debug for TargetResource
source§impl Default for TargetResource
impl Default for TargetResource
source§fn default() -> TargetResource
fn default() -> TargetResource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TargetResource
impl<'de> Deserialize<'de> for TargetResource
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 TargetResource
impl PartialEq for TargetResource
source§fn eq(&self, other: &TargetResource) -> bool
fn eq(&self, other: &TargetResource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TargetResource
impl Serialize for TargetResource
impl StructuralPartialEq for TargetResource
Auto Trait Implementations§
impl Freeze for TargetResource
impl RefUnwindSafe for TargetResource
impl Send for TargetResource
impl Sync for TargetResource
impl Unpin for TargetResource
impl UnwindSafe for TargetResource
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