pub struct ShareService { /* private fields */ }Expand description
Service for managing session sharing
Implementations§
Generate a share link for a session with optional expiration
Get a share by ID, checking expiration
Create a read-only view of a session based on share permissions
Import a shared session, creating a new local session
Revoke a share by ID
List all active shares
Clean up expired shares
List all active shares for a specific session
Invalidate all shares for a session when the session is deleted
Trait Implementations§
Source§fn clone(&self) -> ShareService
fn clone(&self) -> ShareService
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
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