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 !Freeze for DiscoveryPayloadBuilder
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