pub struct ApplicationVariable {
pub id: String,
pub name: String,
pub type_: String,
pub tips: String,
pub allowed_values: Vec<String>,
pub input_template: ApplicationInputTemplate,
}Expand description
One input variable exposed by an application.
Fields§
§id: StringVariable identifier.
name: StringVariable name.
type_: StringUpstream variable type.
tips: StringUser-facing input hint.
allowed_values: Vec<String>Allowed selection values.
input_template: ApplicationInputTemplateInput template supplied by the application.
Trait Implementations§
Source§impl Clone for ApplicationVariable
impl Clone for ApplicationVariable
Source§fn clone(&self) -> ApplicationVariable
fn clone(&self) -> ApplicationVariable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ApplicationVariable
impl Debug for ApplicationVariable
Source§impl<'de> Deserialize<'de> for ApplicationVariable
impl<'de> Deserialize<'de> for ApplicationVariable
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 ApplicationVariable
impl PartialEq for ApplicationVariable
Source§impl Serialize for ApplicationVariable
impl Serialize for ApplicationVariable
impl StructuralPartialEq for ApplicationVariable
Auto Trait Implementations§
impl Freeze for ApplicationVariable
impl RefUnwindSafe for ApplicationVariable
impl Send for ApplicationVariable
impl Sync for ApplicationVariable
impl Unpin for ApplicationVariable
impl UnsafeUnpin for ApplicationVariable
impl UnwindSafe for ApplicationVariable
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