Struct grid_sdk::protocol::track_and_trace::state::ReporterBuilder
source · [−]pub struct ReporterBuilder { /* private fields */ }
Expand description
Builder used to create a Reporter
Implementations
sourceimpl ReporterBuilder
impl ReporterBuilder
pub fn new() -> Self
pub fn with_public_key(self, value: String) -> Self
pub fn with_index(self, value: u32) -> Self
pub fn build(self) -> Result<Reporter, BuilderError>
Trait Implementations
sourceimpl Clone for ReporterBuilder
impl Clone for ReporterBuilder
sourcefn clone(&self) -> ReporterBuilder
fn clone(&self) -> ReporterBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for ReporterBuilder
impl Default for ReporterBuilder
sourcefn default() -> ReporterBuilder
fn default() -> ReporterBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ReporterBuilder
impl Send for ReporterBuilder
impl Sync for ReporterBuilder
impl Unpin for ReporterBuilder
impl UnwindSafe for ReporterBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more