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