pub struct UpdateVariableRequest {
pub name: Option<String>,
pub value: Option<String>,
}Expand description
Body for PATCH /api/v1/variables/{id}. All fields are optional.
Fields§
§name: Option<String>New variable name. Will be re-checked for uniqueness.
value: Option<String>New value.
Trait Implementations§
Source§impl ComposeSchema for UpdateVariableRequest
impl ComposeSchema for UpdateVariableRequest
Source§impl Debug for UpdateVariableRequest
impl Debug for UpdateVariableRequest
Source§impl<'de> Deserialize<'de> for UpdateVariableRequest
impl<'de> Deserialize<'de> for UpdateVariableRequest
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 Serialize for UpdateVariableRequest
impl Serialize for UpdateVariableRequest
Auto Trait Implementations§
impl Freeze for UpdateVariableRequest
impl RefUnwindSafe for UpdateVariableRequest
impl Send for UpdateVariableRequest
impl Sync for UpdateVariableRequest
impl Unpin for UpdateVariableRequest
impl UnsafeUnpin for UpdateVariableRequest
impl UnwindSafe for UpdateVariableRequest
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