pub struct DeviceBoundSessionWithUsageBuilder { /* private fields */ }Implementations§
Source§impl DeviceBoundSessionWithUsageBuilder
impl DeviceBoundSessionWithUsageBuilder
pub fn session_key( self, session_key: impl Into<DeviceBoundSessionKey>, ) -> DeviceBoundSessionWithUsageBuilder
pub fn usage( self, usage: impl Into<DeviceBoundSessionWithUsageUsage>, ) -> DeviceBoundSessionWithUsageBuilder
pub fn build(self) -> Result<DeviceBoundSessionWithUsage, String>
Trait Implementations§
Source§impl Clone for DeviceBoundSessionWithUsageBuilder
impl Clone for DeviceBoundSessionWithUsageBuilder
Source§fn clone(&self) -> DeviceBoundSessionWithUsageBuilder
fn clone(&self) -> DeviceBoundSessionWithUsageBuilder
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 moreSource§impl Default for DeviceBoundSessionWithUsageBuilder
impl Default for DeviceBoundSessionWithUsageBuilder
Source§fn default() -> DeviceBoundSessionWithUsageBuilder
fn default() -> DeviceBoundSessionWithUsageBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeviceBoundSessionWithUsageBuilder
impl RefUnwindSafe for DeviceBoundSessionWithUsageBuilder
impl Send for DeviceBoundSessionWithUsageBuilder
impl Sync for DeviceBoundSessionWithUsageBuilder
impl Unpin for DeviceBoundSessionWithUsageBuilder
impl UnsafeUnpin for DeviceBoundSessionWithUsageBuilder
impl UnwindSafe for DeviceBoundSessionWithUsageBuilder
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