pub struct DescriptorOperationReceivedEventParamsBuilder { /* private fields */ }Expand description
Builder for DescriptorOperationReceivedEventParams.
Implementations§
Source§impl DescriptorOperationReceivedEventParamsBuilder
impl DescriptorOperationReceivedEventParamsBuilder
pub fn descriptor_id(&mut self, value: String) -> &mut Self
pub fn type(&mut self, value: DescriptorOperationType) -> &mut Self
pub fn data(&mut self, value: Option<String>) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<DescriptorOperationReceivedEventParams, DescriptorOperationReceivedEventParamsBuilderError>
pub fn build( &self, ) -> Result<DescriptorOperationReceivedEventParams, DescriptorOperationReceivedEventParamsBuilderError>
Builds a new DescriptorOperationReceivedEventParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for DescriptorOperationReceivedEventParamsBuilder
impl Clone for DescriptorOperationReceivedEventParamsBuilder
Source§fn clone(&self) -> DescriptorOperationReceivedEventParamsBuilder
fn clone(&self) -> DescriptorOperationReceivedEventParamsBuilder
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 DescriptorOperationReceivedEventParamsBuilder
impl RefUnwindSafe for DescriptorOperationReceivedEventParamsBuilder
impl Send for DescriptorOperationReceivedEventParamsBuilder
impl Sync for DescriptorOperationReceivedEventParamsBuilder
impl Unpin for DescriptorOperationReceivedEventParamsBuilder
impl UnsafeUnpin for DescriptorOperationReceivedEventParamsBuilder
impl UnwindSafe for DescriptorOperationReceivedEventParamsBuilder
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