pub struct TestVariable {
pub description: Option<String>,
pub id: Option<i32>,
pub name: Option<String>,
pub project: Option<ShallowReference>,
pub revision: Option<i32>,
pub url: Option<String>,
pub values: Vec<String>,
}Fields§
§description: Option<String>Description of the test variable
id: Option<i32>Id of the test variable
name: Option<String>Name of the test variable
project: Option<ShallowReference>An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.
revision: Option<i32>Revision
url: Option<String>Url of the test variable
values: Vec<String>List of allowed values
Implementations§
Source§impl TestVariable
impl TestVariable
Trait Implementations§
Source§impl Clone for TestVariable
impl Clone for TestVariable
Source§fn clone(&self) -> TestVariable
fn clone(&self) -> TestVariable
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 TestVariable
impl Debug for TestVariable
Source§impl Default for TestVariable
impl Default for TestVariable
Source§fn default() -> TestVariable
fn default() -> TestVariable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TestVariable
impl<'de> Deserialize<'de> for TestVariable
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 TestVariable
impl PartialEq for TestVariable
Source§impl Serialize for TestVariable
impl Serialize for TestVariable
impl StructuralPartialEq for TestVariable
Auto Trait Implementations§
impl Freeze for TestVariable
impl RefUnwindSafe for TestVariable
impl Send for TestVariable
impl Sync for TestVariable
impl Unpin for TestVariable
impl UnwindSafe for TestVariable
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