pub struct OrgApproveResult {
pub user_id: String,
pub groups: Vec<String>,
pub org_id: String,
pub serial: u64,
pub join_code_fingerprint: String,
}Expand description
Result of Request::OrgApprove (#66).
Fields§
§user_id: String§groups: Vec<String>§org_id: String§serial: u64§join_code_fingerprint: StringThe join code’s fingerprint in short words — the enrollment analogue of the pairing SAS.
Show this to the operator and have them confirm it out-of-band before trusting the
approval. Nothing else binds the person to the user_pk in the code, so a substituted
code is caught here or not at all. Returned rather than checked, because only the human can
check it.
Trait Implementations§
Source§impl Clone for OrgApproveResult
impl Clone for OrgApproveResult
Source§fn clone(&self) -> OrgApproveResult
fn clone(&self) -> OrgApproveResult
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 OrgApproveResult
impl Debug for OrgApproveResult
Source§impl Default for OrgApproveResult
impl Default for OrgApproveResult
Source§fn default() -> OrgApproveResult
fn default() -> OrgApproveResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrgApproveResult
impl<'de> Deserialize<'de> for OrgApproveResult
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 OrgApproveResult
Source§impl PartialEq for OrgApproveResult
impl PartialEq for OrgApproveResult
Source§impl Serialize for OrgApproveResult
impl Serialize for OrgApproveResult
impl StructuralPartialEq for OrgApproveResult
Auto Trait Implementations§
impl Freeze for OrgApproveResult
impl RefUnwindSafe for OrgApproveResult
impl Send for OrgApproveResult
impl Sync for OrgApproveResult
impl Unpin for OrgApproveResult
impl UnsafeUnpin for OrgApproveResult
impl UnwindSafe for OrgApproveResult
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