pub struct IssueRequest {
pub subject: String,
pub client_id: String,
pub name: Option<String>,
pub scopes: Vec<String>,
}Expand description
What an Issuer is asked to mint a credential for.
Fields§
§subject: StringThe subject that approved the device.
client_id: StringThe client the code was issued to.
name: Option<String>The device label the client supplied, when it did.
scopes: Vec<String>The scopes the client asked for, all of them allowed.
Trait Implementations§
Source§impl Clone for IssueRequest
impl Clone for IssueRequest
Source§impl Debug for IssueRequest
impl Debug for IssueRequest
impl Eq for IssueRequest
Source§impl PartialEq for IssueRequest
impl PartialEq for IssueRequest
impl StructuralPartialEq for IssueRequest
Auto Trait Implementations§
impl Freeze for IssueRequest
impl RefUnwindSafe for IssueRequest
impl Send for IssueRequest
impl Sync for IssueRequest
impl Unpin for IssueRequest
impl UnsafeUnpin for IssueRequest
impl UnwindSafe for IssueRequest
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,
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.