pub struct EnrollPollResponse {
pub device_id: String,
pub scope: String,
}Expand description
POST /v1/devices/enroll/poll once approved. Before that, the answer
is a 400 whose error is one of RFC 8628’s codes, such as
AUTHORIZATION_PENDING.
Fields§
§device_id: StringThe device id, which the machine signs with as keyid.
scope: StringSCOPE_SYNC or SCOPE_ADMIN, as the owner approved it.
Trait Implementations§
Source§impl Clone for EnrollPollResponse
impl Clone for EnrollPollResponse
Source§impl Debug for EnrollPollResponse
impl Debug for EnrollPollResponse
Source§impl Default for EnrollPollResponse
impl Default for EnrollPollResponse
Source§impl<'de> Deserialize<'de> for EnrollPollResponse
impl<'de> Deserialize<'de> for EnrollPollResponse
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 EnrollPollResponse
Source§impl PartialEq for EnrollPollResponse
impl PartialEq for EnrollPollResponse
Source§impl Serialize for EnrollPollResponse
impl Serialize for EnrollPollResponse
impl StructuralPartialEq for EnrollPollResponse
Auto Trait Implementations§
impl Freeze for EnrollPollResponse
impl RefUnwindSafe for EnrollPollResponse
impl Send for EnrollPollResponse
impl Sync for EnrollPollResponse
impl Unpin for EnrollPollResponse
impl UnsafeUnpin for EnrollPollResponse
impl UnwindSafe for EnrollPollResponse
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.