Struct ckb_types::packed::RawAlertBuilder
source · pub struct RawAlertBuilder { /* private fields */ }
Implementations§
source§impl RawAlertBuilder
impl RawAlertBuilder
pub const FIELD_COUNT: usize = 7usize
pub fn notice_until(self, v: Uint64) -> RawAlertBuilder
pub fn id(self, v: Uint32) -> RawAlertBuilder
pub fn cancel(self, v: Uint32) -> RawAlertBuilder
pub fn priority(self, v: Uint32) -> RawAlertBuilder
pub fn message(self, v: Bytes) -> RawAlertBuilder
pub fn min_version(self, v: BytesOpt) -> RawAlertBuilder
pub fn max_version(self, v: BytesOpt) -> RawAlertBuilder
Trait Implementations§
source§impl Builder for RawAlertBuilder
impl Builder for RawAlertBuilder
source§impl Debug for RawAlertBuilder
impl Debug for RawAlertBuilder
source§impl Default for RawAlertBuilder
impl Default for RawAlertBuilder
source§fn default() -> RawAlertBuilder
fn default() -> RawAlertBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for RawAlertBuilder
impl Send for RawAlertBuilder
impl Sync for RawAlertBuilder
impl Unpin for RawAlertBuilder
impl UnwindSafe for RawAlertBuilder
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