pub struct InceptionEventBuilder { /* private fields */ }Expand description
Builder for creating SerderKERI inception events
Implementations§
Source§impl InceptionEventBuilder
impl InceptionEventBuilder
Sourcepub fn with_isith(self, isith: TholderSith) -> Self
pub fn with_isith(self, isith: TholderSith) -> Self
Sets the initial signing threshold (isith)
Sourcepub fn with_ndigs(self, ndigs: Vec<String>) -> Self
pub fn with_ndigs(self, ndigs: Vec<String>) -> Self
Sets the next signing key digests (ndigs)
Sourcepub fn with_nsith(self, nsith: TholderSith) -> Self
pub fn with_nsith(self, nsith: TholderSith) -> Self
Sets the next signing threshold (nsith)
Sourcepub fn with_version(self, version: String) -> Self
pub fn with_version(self, version: String) -> Self
Sets the version
Sourcepub fn with_intive(self, intive: bool) -> Self
pub fn with_intive(self, intive: bool) -> Self
Sets whether to use integer representation for thresholds
Sourcepub fn with_delpre(self, delpre: String) -> Self
pub fn with_delpre(self, delpre: String) -> Self
Sets the delegator identifier prefix
Sourcepub fn build(self) -> Result<SerderKERI, KERIError>
pub fn build(self) -> Result<SerderKERI, KERIError>
Builds the SerderKERI inception event
Auto Trait Implementations§
impl Freeze for InceptionEventBuilder
impl RefUnwindSafe for InceptionEventBuilder
impl Send for InceptionEventBuilder
impl Sync for InceptionEventBuilder
impl Unpin for InceptionEventBuilder
impl UnsafeUnpin for InceptionEventBuilder
impl UnwindSafe for InceptionEventBuilder
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