Struct fundamentum_sdk_mqtt::SecurityBuilder
source · pub struct SecurityBuilder { /* private fields */ }Expand description
Builder for Security.
Implementations§
source§impl SecurityBuilder
impl SecurityBuilder
sourcepub fn project_id(self, value: u64) -> Self
pub fn project_id(self, value: u64) -> Self
Device’s project_id
sourcepub fn fetcher(self, value: Box<dyn SecurityFetcher + Send + Sync>) -> Self
pub fn fetcher(self, value: Box<dyn SecurityFetcher + Send + Sync>) -> Self
Device’s private_key
sourcepub fn expiration(self, value: Duration) -> Self
pub fn expiration(self, value: Duration) -> Self
Token’s expiration
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SecurityBuilder
impl Send for SecurityBuilder
impl Sync for SecurityBuilder
impl Unpin for SecurityBuilder
impl !UnwindSafe for SecurityBuilder
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