pub struct DistributedNodesUpdatedEventParamsBuilder { /* private fields */ }Expand description
Builder for DistributedNodesUpdatedEventParams.
Implementations§
Source§impl DistributedNodesUpdatedEventParamsBuilder
impl DistributedNodesUpdatedEventParamsBuilder
Sourcepub fn insertion_point_id(&mut self, value: NodeId) -> &mut Self
pub fn insertion_point_id(&mut self, value: NodeId) -> &mut Self
Insertion point where distributed nodes were updated.
Sourcepub fn distributed_nodes(&mut self, value: Vec<BackendNode>) -> &mut Self
pub fn distributed_nodes(&mut self, value: Vec<BackendNode>) -> &mut Self
Distributed nodes for given insertion point.
Sourcepub fn build(
&self,
) -> Result<DistributedNodesUpdatedEventParams, DistributedNodesUpdatedEventParamsBuilderError>
pub fn build( &self, ) -> Result<DistributedNodesUpdatedEventParams, DistributedNodesUpdatedEventParamsBuilderError>
Builds a new DistributedNodesUpdatedEventParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for DistributedNodesUpdatedEventParamsBuilder
impl Clone for DistributedNodesUpdatedEventParamsBuilder
Source§fn clone(&self) -> DistributedNodesUpdatedEventParamsBuilder
fn clone(&self) -> DistributedNodesUpdatedEventParamsBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DistributedNodesUpdatedEventParamsBuilder
impl RefUnwindSafe for DistributedNodesUpdatedEventParamsBuilder
impl Send for DistributedNodesUpdatedEventParamsBuilder
impl Sync for DistributedNodesUpdatedEventParamsBuilder
impl Unpin for DistributedNodesUpdatedEventParamsBuilder
impl UnsafeUnpin for DistributedNodesUpdatedEventParamsBuilder
impl UnwindSafe for DistributedNodesUpdatedEventParamsBuilder
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