Struct ckb_types::packed::RawAlertBuilder
source · [−]pub struct RawAlertBuilder { /* private fields */ }
Implementations
sourceimpl RawAlertBuilder
impl RawAlertBuilder
pub const FIELD_COUNT: usize = 7usize
pub fn notice_until(self, v: Uint64) -> Self
pub fn id(self, v: Uint32) -> Self
pub fn cancel(self, v: Uint32) -> Self
pub fn priority(self, v: Uint32) -> Self
pub fn message(self, v: Bytes) -> Self
pub fn min_version(self, v: BytesOpt) -> Self
pub fn max_version(self, v: BytesOpt) -> Self
Trait Implementations
sourceimpl Builder for RawAlertBuilder
impl Builder for RawAlertBuilder
sourceimpl Debug for RawAlertBuilder
impl Debug for RawAlertBuilder
sourceimpl Default for RawAlertBuilder
impl Default for RawAlertBuilder
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more