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