pub struct CreateSession {
pub subject: String,
pub ttl: TimeDelta,
pub attributes: BTreeMap<String, String>,
}Fields§
§subject: String§ttl: TimeDelta§attributes: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for CreateSession
impl Clone for CreateSession
Source§fn clone(&self) -> CreateSession
fn clone(&self) -> CreateSession
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 CreateSession
impl Debug for CreateSession
impl Eq for CreateSession
Source§impl PartialEq for CreateSession
impl PartialEq for CreateSession
impl StructuralPartialEq for CreateSession
Auto Trait Implementations§
impl Freeze for CreateSession
impl RefUnwindSafe for CreateSession
impl Send for CreateSession
impl Sync for CreateSession
impl Unpin for CreateSession
impl UnsafeUnpin for CreateSession
impl UnwindSafe for CreateSession
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