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