pub struct CommitmentEventBuilder { /* private fields */ }Expand description
Commitment event builder for creating CSV anchor events.
Implementations§
Source§impl CommitmentEventBuilder
impl CommitmentEventBuilder
Sourcepub fn new(module_address: [u8; 32], event_type: impl Into<String>) -> Self
pub fn new(module_address: [u8; 32], event_type: impl Into<String>) -> Self
Create a new event builder.
§Arguments
module_address- Address of the CSV moduleevent_type- Event type string (e.g., “CSV::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