pub struct DeviceBoundSessionKeyBuilder { /* private fields */ }Expand description
Builder for DeviceBoundSessionKey.
Implementations§
Source§impl DeviceBoundSessionKeyBuilder
impl DeviceBoundSessionKeyBuilder
Sourcepub fn site<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn site<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The site the session is set up for.
Sourcepub fn build(
&self,
) -> Result<DeviceBoundSessionKey, DeviceBoundSessionKeyBuilderError>
pub fn build( &self, ) -> Result<DeviceBoundSessionKey, DeviceBoundSessionKeyBuilderError>
Trait Implementations§
Source§impl Clone for DeviceBoundSessionKeyBuilder
impl Clone for DeviceBoundSessionKeyBuilder
Source§fn clone(&self) -> DeviceBoundSessionKeyBuilder
fn clone(&self) -> DeviceBoundSessionKeyBuilder
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§
impl Freeze for DeviceBoundSessionKeyBuilder
impl RefUnwindSafe for DeviceBoundSessionKeyBuilder
impl Send for DeviceBoundSessionKeyBuilder
impl Sync for DeviceBoundSessionKeyBuilder
impl Unpin for DeviceBoundSessionKeyBuilder
impl UnsafeUnpin for DeviceBoundSessionKeyBuilder
impl UnwindSafe for DeviceBoundSessionKeyBuilder
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