pub struct CommitmentEventBuilder { /* private fields */ }Expand description
Builder for commitment events emitted when seals are consumed.
Implementations§
Source§impl CommitmentEventBuilder
impl CommitmentEventBuilder
Sourcepub fn new(package_id: [u8; 32], event_type: String) -> Self
pub fn new(package_id: [u8; 32], event_type: String) -> Self
Create a new event builder.
§Arguments
package_id- The package ID where CSVSeal is deployedevent_type- The event type (e.g., “csv_seal::AnchorEvent”)
Auto Trait Implementations§
impl Freeze for CommitmentEventBuilder
impl RefUnwindSafe for CommitmentEventBuilder
impl Send for CommitmentEventBuilder
impl Sync for CommitmentEventBuilder
impl Unpin for CommitmentEventBuilder
impl UnsafeUnpin for CommitmentEventBuilder
impl UnwindSafe for CommitmentEventBuilder
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