pub struct DataBuilder(/* private fields */);Implementations§
Source§impl DataBuilder
impl DataBuilder
pub fn new() -> Self
pub fn new_from_body(body: Data) -> Self
pub fn build(self) -> Data
pub fn with_origination_id(self, originating_id: EntityId) -> Self
pub fn with_receiving_id(self, receiving_id: EntityId) -> Self
pub fn with_request_id(self, request_id: u32) -> Self
pub fn with_fixed_datums(self, fixed_datum_records: Vec<FixedDatum>) -> Self
pub fn with_variable_datums( self, variable_datum_records: Vec<VariableDatum>, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataBuilder
impl RefUnwindSafe for DataBuilder
impl Send for DataBuilder
impl Sync for DataBuilder
impl Unpin for DataBuilder
impl UnwindSafe for DataBuilder
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