pub struct NonceScope {
pub actor: AgentId,
pub protocol: String,
pub room_id: Option<String>,
pub nonce: String,
}Fields§
§actor: AgentId§protocol: String§room_id: Option<String>§nonce: StringImplementations§
Source§impl NonceScope
impl NonceScope
pub fn for_event<P>(event: &Event<P>, kind: NonceScopeKind) -> Self
Trait Implementations§
Source§impl Clone for NonceScope
impl Clone for NonceScope
Source§fn clone(&self) -> NonceScope
fn clone(&self) -> NonceScope
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 NonceScope
impl Debug for NonceScope
Source§impl Hash for NonceScope
impl Hash for NonceScope
Source§impl PartialEq for NonceScope
impl PartialEq for NonceScope
Source§fn eq(&self, other: &NonceScope) -> bool
fn eq(&self, other: &NonceScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NonceScope
impl StructuralPartialEq for NonceScope
Auto Trait Implementations§
impl Freeze for NonceScope
impl RefUnwindSafe for NonceScope
impl Send for NonceScope
impl Sync for NonceScope
impl Unpin for NonceScope
impl UnsafeUnpin for NonceScope
impl UnwindSafe for NonceScope
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