pub struct DenyResponse {
pub user_code: String,
pub name: String,
pub denied: bool,
}Expand description
POST /v1/devices/deny: what was refused.
Fields§
§user_code: StringThe code, normalized.
name: StringThe name the machine asked to be known by.
denied: boolAlways true.
Trait Implementations§
Source§impl Clone for DenyResponse
impl Clone for DenyResponse
Source§impl Debug for DenyResponse
impl Debug for DenyResponse
Source§impl Default for DenyResponse
impl Default for DenyResponse
Source§impl<'de> Deserialize<'de> for DenyResponse
impl<'de> Deserialize<'de> for DenyResponse
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 DenyResponse
Source§impl PartialEq for DenyResponse
impl PartialEq for DenyResponse
Source§impl Serialize for DenyResponse
impl Serialize for DenyResponse
impl StructuralPartialEq for DenyResponse
Auto Trait Implementations§
impl Freeze for DenyResponse
impl RefUnwindSafe for DenyResponse
impl Send for DenyResponse
impl Sync for DenyResponse
impl Unpin for DenyResponse
impl UnsafeUnpin for DenyResponse
impl UnwindSafe for DenyResponse
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.