Struct grid_sdk::protocol::track_and_trace::state::AssociatedAgentBuilder
source · [−]pub struct AssociatedAgentBuilder { /* private fields */ }
Expand description
Builder used to create an AssociatedAgent
Implementations
sourceimpl AssociatedAgentBuilder
impl AssociatedAgentBuilder
pub fn new() -> Self
pub fn with_agent_id(self, value: String) -> Self
pub fn with_timestamp(self, value: u64) -> Self
pub fn build(self) -> Result<AssociatedAgent, BuilderError>
Trait Implementations
sourceimpl Debug for AssociatedAgentBuilder
impl Debug for AssociatedAgentBuilder
sourceimpl Default for AssociatedAgentBuilder
impl Default for AssociatedAgentBuilder
sourcefn default() -> AssociatedAgentBuilder
fn default() -> AssociatedAgentBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for AssociatedAgentBuilder
impl Send for AssociatedAgentBuilder
impl Sync for AssociatedAgentBuilder
impl Unpin for AssociatedAgentBuilder
impl UnwindSafe for AssociatedAgentBuilder
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