pub struct SupportBundleBuilder { /* private fields */ }Expand description
Builder for creating support bundles
Implementations§
Source§impl SupportBundleBuilder
impl SupportBundleBuilder
Sourcepub fn with_license_id(license_id: &str, state_integrity_key: &[u8; 32]) -> Self
pub fn with_license_id(license_id: &str, state_integrity_key: &[u8; 32]) -> Self
Create a builder with license context
Sourcepub fn license_status(self, status: LicenseStatusSummary) -> Self
pub fn license_status(self, status: LicenseStatusSummary) -> Self
Set license status
Sourcepub fn event(self, event: VerificationEvent) -> Self
pub fn event(self, event: VerificationEvent) -> Self
Add a verification event
Sourcepub fn build(self) -> SupportBundle
pub fn build(self) -> SupportBundle
Build the final bundle
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SupportBundleBuilder
impl RefUnwindSafe for SupportBundleBuilder
impl Send for SupportBundleBuilder
impl Sync for SupportBundleBuilder
impl Unpin for SupportBundleBuilder
impl UnsafeUnpin for SupportBundleBuilder
impl UnwindSafe for SupportBundleBuilder
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