#[non_exhaustive]pub struct UpdateModelManifestInput {
pub name: Option<String>,
pub description: Option<String>,
pub nodes_to_add: Option<Vec<String>>,
pub nodes_to_remove: Option<Vec<String>>,
pub status: Option<ManifestStatus>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>The name of the vehicle model to update.
description: Option<String>A brief description of the vehicle model.
nodes_to_add: Option<Vec<String>>A list of fullyQualifiedName of nodes, which are a general abstraction of signals, to add to the vehicle model.
nodes_to_remove: Option<Vec<String>>A list of fullyQualifiedName of nodes, which are a general abstraction of signals, to remove from the vehicle model.
status: Option<ManifestStatus>The state of the vehicle model. If the status is ACTIVE, the vehicle model can't be edited. If the status is DRAFT, you can edit the vehicle model.
Implementations§
source§impl UpdateModelManifestInput
impl UpdateModelManifestInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A brief description of the vehicle model.
sourcepub fn nodes_to_add(&self) -> &[String]
pub fn nodes_to_add(&self) -> &[String]
A list of fullyQualifiedName of nodes, which are a general abstraction of signals, to add to the vehicle model.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .nodes_to_add.is_none().
sourcepub fn nodes_to_remove(&self) -> &[String]
pub fn nodes_to_remove(&self) -> &[String]
A list of fullyQualifiedName of nodes, which are a general abstraction of signals, to remove from the vehicle model.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .nodes_to_remove.is_none().
sourcepub fn status(&self) -> Option<&ManifestStatus>
pub fn status(&self) -> Option<&ManifestStatus>
The state of the vehicle model. If the status is ACTIVE, the vehicle model can't be edited. If the status is DRAFT, you can edit the vehicle model.
source§impl UpdateModelManifestInput
impl UpdateModelManifestInput
sourcepub fn builder() -> UpdateModelManifestInputBuilder
pub fn builder() -> UpdateModelManifestInputBuilder
Creates a new builder-style object to manufacture UpdateModelManifestInput.
Trait Implementations§
source§impl Clone for UpdateModelManifestInput
impl Clone for UpdateModelManifestInput
source§fn clone(&self) -> UpdateModelManifestInput
fn clone(&self) -> UpdateModelManifestInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateModelManifestInput
impl Debug for UpdateModelManifestInput
source§impl PartialEq for UpdateModelManifestInput
impl PartialEq for UpdateModelManifestInput
source§fn eq(&self, other: &UpdateModelManifestInput) -> bool
fn eq(&self, other: &UpdateModelManifestInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateModelManifestInput
Auto Trait Implementations§
impl Freeze for UpdateModelManifestInput
impl RefUnwindSafe for UpdateModelManifestInput
impl Send for UpdateModelManifestInput
impl Sync for UpdateModelManifestInput
impl Unpin for UpdateModelManifestInput
impl UnwindSafe for UpdateModelManifestInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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 more