pub struct EditVariable {
pub path: Option<String>,
pub value: Option<String>,
pub is_secret: Option<bool>,
pub description: Option<String>,
pub value_valid_until: Option<Option<String>>,
pub labels: Option<Vec<String>>,
pub ws_specific: Option<bool>,
}Fields§
§path: Option<String>The path to the variable
value: Option<String>The new value of the variable
is_secret: Option<bool>Whether the variable is a secret
description: Option<String>The new description of the variable
value_valid_until: Option<Option<String>>When the value stored in this variable stops working. Omit to leave it unchanged; send null to clear it. Changing it re-arms the workspace’s variable expiration handler.
labels: Option<Vec<String>>§ws_specific: Option<bool>Implementations§
Source§impl EditVariable
impl EditVariable
pub fn new() -> EditVariable
Trait Implementations§
Source§impl Clone for EditVariable
impl Clone for EditVariable
Source§impl Debug for EditVariable
impl Debug for EditVariable
Source§impl Default for EditVariable
impl Default for EditVariable
Source§impl<'de> Deserialize<'de> for EditVariable
impl<'de> Deserialize<'de> for EditVariable
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 EditVariable
impl PartialEq for EditVariable
Source§impl Serialize for EditVariable
impl Serialize for EditVariable
impl StructuralPartialEq for EditVariable
Auto Trait Implementations§
impl Freeze for EditVariable
impl RefUnwindSafe for EditVariable
impl Send for EditVariable
impl Sync for EditVariable
impl Unpin for EditVariable
impl UnsafeUnpin for EditVariable
impl UnwindSafe for EditVariable
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