pub struct PeerRevokeParams {
pub peer: String,
pub reason: Option<String>,
}Expand description
Params of Request::PeerRevoke (#85 ask 4).
Fields§
§peer: StringA nickname, an eid: device principal, or a b64u: user_id. A b64u: revokes EVERY
endpoint this node associates with that person.
reason: Option<String>Free-text operator note, stored and shown in status. Never interpreted.
Trait Implementations§
Source§impl Clone for PeerRevokeParams
impl Clone for PeerRevokeParams
Source§fn clone(&self) -> PeerRevokeParams
fn clone(&self) -> PeerRevokeParams
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 PeerRevokeParams
impl Debug for PeerRevokeParams
Source§impl<'de> Deserialize<'de> for PeerRevokeParams
impl<'de> Deserialize<'de> for PeerRevokeParams
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 PeerRevokeParams
Source§impl PartialEq for PeerRevokeParams
impl PartialEq for PeerRevokeParams
Source§impl Serialize for PeerRevokeParams
impl Serialize for PeerRevokeParams
impl StructuralPartialEq for PeerRevokeParams
Auto Trait Implementations§
impl Freeze for PeerRevokeParams
impl RefUnwindSafe for PeerRevokeParams
impl Send for PeerRevokeParams
impl Sync for PeerRevokeParams
impl Unpin for PeerRevokeParams
impl UnsafeUnpin for PeerRevokeParams
impl UnwindSafe for PeerRevokeParams
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