pub struct UpdateAssetInput {
pub asset_id: String,
pub status: Option<GqlAssetStatus>,
pub description: Option<String>,
pub license: Option<String>,
pub add_tags: Vec<String>,
pub remove_tags: Vec<String>,
pub add_annotations: Vec<AnnotationInput>,
pub remove_annotations: Vec<String>,
}Expand description
Input for updating an asset
Fields§
§asset_id: StringAsset ID to update
status: Option<GqlAssetStatus>New status
description: Option<String>New description
license: Option<String>New license
Tags to add
Tags to remove
add_annotations: Vec<AnnotationInput>Annotations to add/update
remove_annotations: Vec<String>Annotation keys to remove
Trait Implementations§
Source§impl InputType for UpdateAssetInput
impl InputType for UpdateAssetInput
Source§type RawValueType = UpdateAssetInput
type RawValueType = UpdateAssetInput
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.
impl InputObjectType for UpdateAssetInput
Auto Trait Implementations§
impl Freeze for UpdateAssetInput
impl RefUnwindSafe for UpdateAssetInput
impl Send for UpdateAssetInput
impl Sync for UpdateAssetInput
impl Unpin for UpdateAssetInput
impl UnwindSafe for UpdateAssetInput
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request