pub struct NodeListOptsBuilder { /* private fields */ }
Available on crate feature
swarm
only.Expand description
A builder struct for NodeListOpts.
Implementations§
Source§impl NodeListOptsBuilder
impl NodeListOptsBuilder
Sourcepub fn build(self) -> NodeListOpts
pub fn build(self) -> NodeListOpts
Finish building NodeListOpts.
Source§impl NodeListOptsBuilder
impl NodeListOptsBuilder
pub fn filter(self, filters: impl IntoIterator<Item = NodeFilter>) -> Self
Trait Implementations§
Source§impl Clone for NodeListOptsBuilder
impl Clone for NodeListOptsBuilder
Source§fn clone(&self) -> NodeListOptsBuilder
fn clone(&self) -> NodeListOptsBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NodeListOptsBuilder
impl Debug for NodeListOptsBuilder
Source§impl Default for NodeListOptsBuilder
impl Default for NodeListOptsBuilder
Source§fn default() -> NodeListOptsBuilder
fn default() -> NodeListOptsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NodeListOptsBuilder
impl RefUnwindSafe for NodeListOptsBuilder
impl Send for NodeListOptsBuilder
impl Sync for NodeListOptsBuilder
impl Unpin for NodeListOptsBuilder
impl UnwindSafe for NodeListOptsBuilder
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