#[non_exhaustive]pub enum ModifyAction {
SetAuthToken(String),
RemoveAuthToken,
SetModel(String),
RemoveModel,
}Expand description
Semantic edits supported by the broker; values are never included in Debug.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SetAuthToken(String)
Set the credential selected by the target’s authentication binding.
RemoveAuthToken
Remove the selected credential.
SetModel(String)
Set the requested model without changing the target or protocol.
RemoveModel
Remove the model member, including an explicit null.
Trait Implementations§
Source§impl Debug for ModifyAction
impl Debug for ModifyAction
Source§impl<'de> Deserialize<'de> for ModifyAction
impl<'de> Deserialize<'de> for ModifyAction
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ModifyAction
Source§impl PartialEq for ModifyAction
impl PartialEq for ModifyAction
Source§impl Serialize for ModifyAction
impl Serialize for ModifyAction
impl StructuralPartialEq for ModifyAction
Auto Trait Implementations§
impl Forget for ModifyAction
impl Freeze for ModifyAction
impl Move for ModifyAction
impl RefUnwindSafe for ModifyAction
impl Send for ModifyAction
impl Sync for ModifyAction
impl Unpin for ModifyAction
impl UnsafeUnpin for ModifyAction
impl UnwindSafe for ModifyAction
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