pub struct ValidateKeyBindingResponse {
pub valid: bool,
pub conflicts: Option<Vec<HashMap<String, Value>>>,
}Fields§
§valid: bool§conflicts: Option<Vec<HashMap<String, Value>>>Implementations§
Source§impl ValidateKeyBindingResponse
impl ValidateKeyBindingResponse
pub fn new(valid: bool) -> ValidateKeyBindingResponse
Trait Implementations§
Source§impl Clone for ValidateKeyBindingResponse
impl Clone for ValidateKeyBindingResponse
Source§fn clone(&self) -> ValidateKeyBindingResponse
fn clone(&self) -> ValidateKeyBindingResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValidateKeyBindingResponse
impl Debug for ValidateKeyBindingResponse
Source§impl Default for ValidateKeyBindingResponse
impl Default for ValidateKeyBindingResponse
Source§fn default() -> ValidateKeyBindingResponse
fn default() -> ValidateKeyBindingResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ValidateKeyBindingResponse
impl<'de> Deserialize<'de> for ValidateKeyBindingResponse
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 ValidateKeyBindingResponse
impl PartialEq for ValidateKeyBindingResponse
Source§fn eq(&self, other: &ValidateKeyBindingResponse) -> bool
fn eq(&self, other: &ValidateKeyBindingResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ValidateKeyBindingResponse
Auto Trait Implementations§
impl Freeze for ValidateKeyBindingResponse
impl RefUnwindSafe for ValidateKeyBindingResponse
impl Send for ValidateKeyBindingResponse
impl Sync for ValidateKeyBindingResponse
impl Unpin for ValidateKeyBindingResponse
impl UnsafeUnpin for ValidateKeyBindingResponse
impl UnwindSafe for ValidateKeyBindingResponse
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