pub struct ReplaceQuery {
pub revision: Option<String>,
}Expand description
PUT /v1/config query parameters.
Fields§
§revision: Option<String>The revision of the config the new text was made from; absent, the text replaces whatever runs.
Trait Implementations§
Source§impl Clone for ReplaceQuery
impl Clone for ReplaceQuery
Source§impl Debug for ReplaceQuery
impl Debug for ReplaceQuery
Source§impl Default for ReplaceQuery
impl Default for ReplaceQuery
Source§impl<'de> Deserialize<'de> for ReplaceQuery
impl<'de> Deserialize<'de> for ReplaceQuery
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
impl Eq for ReplaceQuery
Source§impl PartialEq for ReplaceQuery
impl PartialEq for ReplaceQuery
Source§impl Serialize for ReplaceQuery
impl Serialize for ReplaceQuery
impl StructuralPartialEq for ReplaceQuery
Auto Trait Implementations§
impl Freeze for ReplaceQuery
impl RefUnwindSafe for ReplaceQuery
impl Send for ReplaceQuery
impl Sync for ReplaceQuery
impl Unpin for ReplaceQuery
impl UnsafeUnpin for ReplaceQuery
impl UnwindSafe for ReplaceQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.