#[non_exhaustive]pub struct UpdateVariableInput {
pub name: Option<String>,
pub default_value: Option<String>,
pub description: Option<String>,
pub variable_type: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the variable.
default_value: Option<String>
The new default value of the variable.
description: Option<String>
The new description.
variable_type: Option<String>
The variable type. For more information see Variable types.
Implementations§
source§impl UpdateVariableInput
impl UpdateVariableInput
sourcepub fn default_value(&self) -> Option<&str>
pub fn default_value(&self) -> Option<&str>
The new default value of the variable.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The new description.
sourcepub fn variable_type(&self) -> Option<&str>
pub fn variable_type(&self) -> Option<&str>
The variable type. For more information see Variable types.
source§impl UpdateVariableInput
impl UpdateVariableInput
sourcepub fn builder() -> UpdateVariableInputBuilder
pub fn builder() -> UpdateVariableInputBuilder
Creates a new builder-style object to manufacture UpdateVariableInput
.
Trait Implementations§
source§impl Clone for UpdateVariableInput
impl Clone for UpdateVariableInput
source§fn clone(&self) -> UpdateVariableInput
fn clone(&self) -> UpdateVariableInput
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 Debug for UpdateVariableInput
impl Debug for UpdateVariableInput
source§impl PartialEq for UpdateVariableInput
impl PartialEq for UpdateVariableInput
source§fn eq(&self, other: &UpdateVariableInput) -> bool
fn eq(&self, other: &UpdateVariableInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateVariableInput
Auto Trait Implementations§
impl Freeze for UpdateVariableInput
impl RefUnwindSafe for UpdateVariableInput
impl Send for UpdateVariableInput
impl Sync for UpdateVariableInput
impl Unpin for UpdateVariableInput
impl UnwindSafe for UpdateVariableInput
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>
Creates a shared type from an unshared type.