pub struct BaseResourceOutputs {
pub type_: ResourceType,
}Expand description
Resource outputs that can hold output data for any resource type in the Alien system. All resource outputs share a common ‘type’ field with additional type-specific output properties.
JSON schema
{
"description": "Resource outputs that can hold output data for any resource type in the Alien system. All resource outputs share a common 'type' field with additional type-specific output properties.",
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"$ref": "#/components/schemas/ResourceType"
}
},
"additionalProperties": true
}Fields§
§type_: ResourceTypeImplementations§
Source§impl BaseResourceOutputs
impl BaseResourceOutputs
pub fn builder() -> BaseResourceOutputs
Trait Implementations§
Source§impl Clone for BaseResourceOutputs
impl Clone for BaseResourceOutputs
Source§fn clone(&self) -> BaseResourceOutputs
fn clone(&self) -> BaseResourceOutputs
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 BaseResourceOutputs
impl Debug for BaseResourceOutputs
Source§impl<'de> Deserialize<'de> for BaseResourceOutputs
impl<'de> Deserialize<'de> for BaseResourceOutputs
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 From<&BaseResourceOutputs> for BaseResourceOutputs
impl From<&BaseResourceOutputs> for BaseResourceOutputs
Source§fn from(value: &BaseResourceOutputs) -> Self
fn from(value: &BaseResourceOutputs) -> Self
Converts to this type from the input type.
Source§impl From<BaseResourceOutputs> for BaseResourceOutputs
impl From<BaseResourceOutputs> for BaseResourceOutputs
Source§fn from(value: BaseResourceOutputs) -> Self
fn from(value: BaseResourceOutputs) -> Self
Converts to this type from the input type.
Source§impl Serialize for BaseResourceOutputs
impl Serialize for BaseResourceOutputs
Source§impl TryFrom<BaseResourceOutputs> for BaseResourceOutputs
impl TryFrom<BaseResourceOutputs> for BaseResourceOutputs
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: BaseResourceOutputs) -> Result<Self, ConversionError>
fn try_from(value: BaseResourceOutputs) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for BaseResourceOutputs
impl RefUnwindSafe for BaseResourceOutputs
impl Send for BaseResourceOutputs
impl Sync for BaseResourceOutputs
impl Unpin for BaseResourceOutputs
impl UnsafeUnpin for BaseResourceOutputs
impl UnwindSafe for BaseResourceOutputs
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