pub struct Subscription {
pub id: usize,
pub allowed_did: Option<String>,
pub handler: EventHandler,
}Fields§
§id: usize§allowed_did: Option<String>§handler: EventHandlerTrait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Subscription
impl !UnwindSafe for Subscription
impl Forget for Subscription
impl Freeze for Subscription
impl Send for Subscription
impl Sync for Subscription
impl Unpin for Subscription
impl UnsafeUnpin for Subscription
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