Struct azure_devops_rust_api::hooks::models::InputValues
source · pub struct InputValues {
pub default_value: Option<String>,
pub error: Option<InputValuesError>,
pub input_id: Option<String>,
pub is_disabled: Option<bool>,
pub is_limited_to_possible_values: Option<bool>,
pub is_read_only: Option<bool>,
pub possible_values: Vec<InputValue>,
}
Expand description
Information about the possible/allowed values for a given subscription input
Fields§
§default_value: Option<String>
The default value to use for this input
error: Option<InputValuesError>
Error information related to a subscription input value.
input_id: Option<String>
The id of the input
is_disabled: Option<bool>
Should this input be disabled
is_limited_to_possible_values: Option<bool>
Should the value be restricted to one of the values in the PossibleValues (True) or are the values in PossibleValues just a suggestion (False)
is_read_only: Option<bool>
Should this input be made read-only
possible_values: Vec<InputValue>
Possible values that this input can take
Implementations§
source§impl InputValues
impl InputValues
Trait Implementations§
source§impl Clone for InputValues
impl Clone for InputValues
source§fn clone(&self) -> InputValues
fn clone(&self) -> InputValues
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 InputValues
impl Debug for InputValues
source§impl Default for InputValues
impl Default for InputValues
source§fn default() -> InputValues
fn default() -> InputValues
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InputValues
impl<'de> Deserialize<'de> for InputValues
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for InputValues
impl PartialEq for InputValues
source§fn eq(&self, other: &InputValues) -> bool
fn eq(&self, other: &InputValues) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InputValues
impl Serialize for InputValues
impl StructuralPartialEq for InputValues
Auto Trait Implementations§
impl RefUnwindSafe for InputValues
impl Send for InputValues
impl Sync for InputValues
impl Unpin for InputValues
impl UnwindSafe for InputValues
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