#[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 ==
.