pub enum AdminResponse {
SetupUrl {
url: String,
},
AlreadySetUp,
NotSetUp,
PasswordReset {
sessions_ended: usize,
passkeys_removed: usize,
},
PublicUrlReset {
public_url: String,
sessions_ended: usize,
passkeys_removed: usize,
},
Hosts {
hosts: Vec<AdminHost>,
},
PairingCode {
code: String,
expires_at: i64,
},
Refused {
message: String,
},
Failed {
message: String,
},
}Variants§
SetupUrl
AlreadySetUp
setup_url once there is an owner.
NotSetUp
A reset before there is an owner: setup is the way in.
PasswordReset
PublicUrlReset
Fields
Hosts
PairingCode
Refused
The request is not acceptable (why); nothing changed.
Failed
The collector failed to carry it out.
Trait Implementations§
Source§impl Clone for AdminResponse
impl Clone for AdminResponse
Source§impl Debug for AdminResponse
Written by hand: the setup link and the pairing code are credentials,
and are left out.
impl Debug for AdminResponse
Written by hand: the setup link and the pairing code are credentials, and are left out.
Source§impl<'de> Deserialize<'de> for AdminResponse
impl<'de> Deserialize<'de> for AdminResponse
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 AdminResponse
Source§impl PartialEq for AdminResponse
impl PartialEq for AdminResponse
Source§impl Serialize for AdminResponse
impl Serialize for AdminResponse
impl StructuralPartialEq for AdminResponse
Auto Trait Implementations§
impl Freeze for AdminResponse
impl RefUnwindSafe for AdminResponse
impl Send for AdminResponse
impl Sync for AdminResponse
impl Unpin for AdminResponse
impl UnsafeUnpin for AdminResponse
impl UnwindSafe for AdminResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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