pub struct DefinitionResourceReference {
pub authorized: Option<bool>,
pub id: Option<String>,
pub name: Option<String>,
pub type_: Option<String>,
}Fields§
Indicates whether the resource is authorized for use.
id: Option<String>The id of the resource.
name: Option<String>A friendly name for the resource.
type_: Option<String>The type of the resource.
Implementations§
Trait Implementations§
Source§impl Clone for DefinitionResourceReference
impl Clone for DefinitionResourceReference
Source§fn clone(&self) -> DefinitionResourceReference
fn clone(&self) -> DefinitionResourceReference
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 DefinitionResourceReference
impl Debug for DefinitionResourceReference
Source§impl Default for DefinitionResourceReference
impl Default for DefinitionResourceReference
Source§fn default() -> DefinitionResourceReference
fn default() -> DefinitionResourceReference
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DefinitionResourceReference
impl<'de> Deserialize<'de> for DefinitionResourceReference
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
impl StructuralPartialEq for DefinitionResourceReference
Auto Trait Implementations§
impl Freeze for DefinitionResourceReference
impl RefUnwindSafe for DefinitionResourceReference
impl Send for DefinitionResourceReference
impl Sync for DefinitionResourceReference
impl Unpin for DefinitionResourceReference
impl UnwindSafe for DefinitionResourceReference
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
Source§fn deserialize_with(body: ResponseBody) -> Result<D, Error>
fn deserialize_with(body: ResponseBody) -> Result<D, Error>
Deserialize the response body using the specified format. Read more