Struct plexo_sdk::resources::assets::operations::CreateAssetInput
source · pub struct CreateAssetInput {
pub name: String,
pub owner_id: Uuid,
pub kind: Option<AssetKind>,
pub project_id: Option<Uuid>,
}Fields§
§name: String§owner_id: Uuid§kind: Option<AssetKind>§project_id: Option<Uuid>Trait Implementations§
source§impl Clone for CreateAssetInput
impl Clone for CreateAssetInput
source§fn clone(&self) -> CreateAssetInput
fn clone(&self) -> CreateAssetInput
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 Default for CreateAssetInput
impl Default for CreateAssetInput
source§fn default() -> CreateAssetInput
fn default() -> CreateAssetInput
Returns the “default value” for a type. Read more
source§impl InputType for CreateAssetInput
impl InputType for CreateAssetInput
§type RawValueType = CreateAssetInput
type RawValueType = CreateAssetInput
The raw type used for validator. Read more
source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
source§fn parse(value: Option<Value>) -> InputValueResult<Self>
fn parse(value: Option<Value>) -> InputValueResult<Self>
Parse from
Value. None represents undefined.source§fn as_raw_value(&self) -> Option<&Self::RawValueType>
fn as_raw_value(&self) -> Option<&Self::RawValueType>
Returns a reference to the raw value.
source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
source§impl ParseFromJSON for CreateAssetInput
impl ParseFromJSON for CreateAssetInput
source§fn parse_from_json(value: Option<Value>) -> Result<Self, ParseError<Self>>
fn parse_from_json(value: Option<Value>) -> Result<Self, ParseError<Self>>
Parse from
serde_json::Value.source§fn parse_from_json_string(s: &str) -> Result<Self, ParseError<Self>>
fn parse_from_json_string(s: &str) -> Result<Self, ParseError<Self>>
Parse from JSON string.
source§impl ParseFromXML for CreateAssetInput
impl ParseFromXML for CreateAssetInput
source§fn parse_from_xml(value: Option<Value>) -> Result<Self, ParseError<Self>>
fn parse_from_xml(value: Option<Value>) -> Result<Self, ParseError<Self>>
Parse from
serde_json::Value.source§fn parse_from_xml_string(s: &str) -> Result<Self, ParseError<Self>>
fn parse_from_xml_string(s: &str) -> Result<Self, ParseError<Self>>
Parse from XML string.
source§impl ParseFromYAML for CreateAssetInput
impl ParseFromYAML for CreateAssetInput
source§fn parse_from_yaml(value: Option<Value>) -> Result<Self, ParseError<Self>>
fn parse_from_yaml(value: Option<Value>) -> Result<Self, ParseError<Self>>
Parse from
serde_json::Value.source§fn parse_from_yaml_string(s: &str) -> Result<Self, ParseError<Self>>
fn parse_from_yaml_string(s: &str) -> Result<Self, ParseError<Self>>
Parse from YAML string.
source§impl Serialize for CreateAssetInput
impl Serialize for CreateAssetInput
source§impl ToJSON for CreateAssetInput
impl ToJSON for CreateAssetInput
source§impl ToXML for CreateAssetInput
impl ToXML for CreateAssetInput
source§impl ToYAML for CreateAssetInput
impl ToYAML for CreateAssetInput
source§impl Type for CreateAssetInput
impl Type for CreateAssetInput
source§const IS_REQUIRED: bool = true
const IS_REQUIRED: bool = true
If it is
true, it means that this type is required.§type RawValueType = CreateAssetInput
type RawValueType = CreateAssetInput
The raw type used for validator. Read more
§type RawElementValueType = CreateAssetInput
type RawElementValueType = CreateAssetInput
The raw element type used for validator.
source§fn schema_ref() -> MetaSchemaRef
fn schema_ref() -> MetaSchemaRef
Get schema reference of this type.
source§fn as_raw_value(&self) -> Option<&Self::RawValueType>
fn as_raw_value(&self) -> Option<&Self::RawValueType>
Returns a reference to the raw value.
source§fn raw_element_iter<'a>(
&'a self
) -> Box<dyn Iterator<Item = &'a Self::RawElementValueType> + 'a>
fn raw_element_iter<'a>( &'a self ) -> Box<dyn Iterator<Item = &'a Self::RawElementValueType> + 'a>
Returns an iterator for traversing the elements.
impl InputObjectType for CreateAssetInput
Auto Trait Implementations§
impl Freeze for CreateAssetInput
impl RefUnwindSafe for CreateAssetInput
impl Send for CreateAssetInput
impl Sync for CreateAssetInput
impl Unpin for CreateAssetInput
impl UnwindSafe for CreateAssetInput
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