#[non_exhaustive]pub struct UpdateDecoderManifestInput {
pub name: Option<String>,
pub description: Option<String>,
pub signal_decoders_to_add: Option<Vec<SignalDecoder>>,
pub signal_decoders_to_update: Option<Vec<SignalDecoder>>,
pub signal_decoders_to_remove: Option<Vec<String>>,
pub network_interfaces_to_add: Option<Vec<NetworkInterface>>,
pub network_interfaces_to_update: Option<Vec<NetworkInterface>>,
pub network_interfaces_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 decoder manifest to update.
description: Option<String>A brief description of the decoder manifest to update.
signal_decoders_to_add: Option<Vec<SignalDecoder>>A list of information about decoding additional signals to add to the decoder manifest.
signal_decoders_to_update: Option<Vec<SignalDecoder>>A list of updated information about decoding signals to update in the decoder manifest.
signal_decoders_to_remove: Option<Vec<String>>A list of signal decoders to remove from the decoder manifest.
network_interfaces_to_add: Option<Vec<NetworkInterface>>A list of information about the network interfaces to add to the decoder manifest.
network_interfaces_to_update: Option<Vec<NetworkInterface>>A list of information about the network interfaces to update in the decoder manifest.
network_interfaces_to_remove: Option<Vec<String>>A list of network interfaces to remove from the decoder manifest.
status: Option<ManifestStatus> The state of the decoder manifest. If the status is ACTIVE, the decoder manifest can't be edited. If the status is DRAFT, you can edit the decoder manifest.
Implementations§
source§impl UpdateDecoderManifestInput
impl UpdateDecoderManifestInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A brief description of the decoder manifest to update.
sourcepub fn signal_decoders_to_add(&self) -> &[SignalDecoder]
pub fn signal_decoders_to_add(&self) -> &[SignalDecoder]
A list of information about decoding additional signals to add to the decoder manifest.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .signal_decoders_to_add.is_none().
sourcepub fn signal_decoders_to_update(&self) -> &[SignalDecoder]
pub fn signal_decoders_to_update(&self) -> &[SignalDecoder]
A list of updated information about decoding signals to update in the decoder manifest.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .signal_decoders_to_update.is_none().
sourcepub fn signal_decoders_to_remove(&self) -> &[String]
pub fn signal_decoders_to_remove(&self) -> &[String]
A list of signal decoders to remove from the decoder manifest.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .signal_decoders_to_remove.is_none().
sourcepub fn network_interfaces_to_add(&self) -> &[NetworkInterface]
pub fn network_interfaces_to_add(&self) -> &[NetworkInterface]
A list of information about the network interfaces to add to the decoder manifest.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .network_interfaces_to_add.is_none().
sourcepub fn network_interfaces_to_update(&self) -> &[NetworkInterface]
pub fn network_interfaces_to_update(&self) -> &[NetworkInterface]
A list of information about the network interfaces to update in the decoder manifest.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .network_interfaces_to_update.is_none().
sourcepub fn network_interfaces_to_remove(&self) -> &[String]
pub fn network_interfaces_to_remove(&self) -> &[String]
A list of network interfaces to remove from the decoder manifest.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .network_interfaces_to_remove.is_none().
sourcepub fn status(&self) -> Option<&ManifestStatus>
pub fn status(&self) -> Option<&ManifestStatus>
The state of the decoder manifest. If the status is ACTIVE, the decoder manifest can't be edited. If the status is DRAFT, you can edit the decoder manifest.
source§impl UpdateDecoderManifestInput
impl UpdateDecoderManifestInput
sourcepub fn builder() -> UpdateDecoderManifestInputBuilder
pub fn builder() -> UpdateDecoderManifestInputBuilder
Creates a new builder-style object to manufacture UpdateDecoderManifestInput.
Trait Implementations§
source§impl Clone for UpdateDecoderManifestInput
impl Clone for UpdateDecoderManifestInput
source§fn clone(&self) -> UpdateDecoderManifestInput
fn clone(&self) -> UpdateDecoderManifestInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateDecoderManifestInput
impl Debug for UpdateDecoderManifestInput
source§impl PartialEq for UpdateDecoderManifestInput
impl PartialEq for UpdateDecoderManifestInput
source§fn eq(&self, other: &UpdateDecoderManifestInput) -> bool
fn eq(&self, other: &UpdateDecoderManifestInput) -> bool
self and other values to be equal, and is used
by ==.