pub struct UpdateEnvironmentRequest {
pub name: Option<String>,
pub description: Option<String>,
}Expand description
Body for PATCH /api/v1/environments/{id}. All fields are optional.
Fields§
§name: Option<String>New display name. Will be re-checked for uniqueness.
description: Option<String>New description. Pass Some("") to clear, omit to leave unchanged.
Trait Implementations§
Source§impl ComposeSchema for UpdateEnvironmentRequest
impl ComposeSchema for UpdateEnvironmentRequest
Source§impl Debug for UpdateEnvironmentRequest
impl Debug for UpdateEnvironmentRequest
Source§impl<'de> Deserialize<'de> for UpdateEnvironmentRequest
impl<'de> Deserialize<'de> for UpdateEnvironmentRequest
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 UpdateEnvironmentRequest
impl Serialize for UpdateEnvironmentRequest
Auto Trait Implementations§
impl Freeze for UpdateEnvironmentRequest
impl RefUnwindSafe for UpdateEnvironmentRequest
impl Send for UpdateEnvironmentRequest
impl Sync for UpdateEnvironmentRequest
impl Unpin for UpdateEnvironmentRequest
impl UnsafeUnpin for UpdateEnvironmentRequest
impl UnwindSafe for UpdateEnvironmentRequest
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