Struct ckb_types::packed::DiscoveryPayloadBuilder
source · pub struct DiscoveryPayloadBuilder(/* private fields */);
Implementations§
source§impl DiscoveryPayloadBuilder
impl DiscoveryPayloadBuilder
pub const ITEMS_COUNT: usize = 2usize
pub fn set<I>(self, v: I) -> DiscoveryPayloadBuilderwhere I: Into<DiscoveryPayloadUnion>,
Trait Implementations§
source§impl Builder for DiscoveryPayloadBuilder
impl Builder for DiscoveryPayloadBuilder
source§impl Debug for DiscoveryPayloadBuilder
impl Debug for DiscoveryPayloadBuilder
source§impl Default for DiscoveryPayloadBuilder
impl Default for DiscoveryPayloadBuilder
source§fn default() -> DiscoveryPayloadBuilder
fn default() -> DiscoveryPayloadBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DiscoveryPayloadBuilder
impl Send for DiscoveryPayloadBuilder
impl Sync for DiscoveryPayloadBuilder
impl Unpin for DiscoveryPayloadBuilder
impl UnwindSafe for DiscoveryPayloadBuilder
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