pub struct ReportStatusResultBuilder { /* private fields */ }Expand description
Builder for ReportStatusResult.
Implementations§
Source§impl ReportStatusResultBuilder
impl ReportStatusResultBuilder
pub fn request_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn reader_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn state<VALUE: Into<ConnectionState>>(&mut self, value: VALUE) -> &mut Self
pub fn atr<VALUE: Into<Vec<u8>>>(&mut self, value: VALUE) -> &mut Self
pub fn protocol<VALUE: Into<Protocol>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<ReportStatusResult, ReportStatusResultBuilderError>
pub fn build( &self, ) -> Result<ReportStatusResult, ReportStatusResultBuilderError>
Trait Implementations§
Source§impl Clone for ReportStatusResultBuilder
impl Clone for ReportStatusResultBuilder
Source§fn clone(&self) -> ReportStatusResultBuilder
fn clone(&self) -> ReportStatusResultBuilder
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 ReportStatusResultBuilder
impl RefUnwindSafe for ReportStatusResultBuilder
impl Send for ReportStatusResultBuilder
impl Sync for ReportStatusResultBuilder
impl Unpin for ReportStatusResultBuilder
impl UnsafeUnpin for ReportStatusResultBuilder
impl UnwindSafe for ReportStatusResultBuilder
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