pub struct ServiceRequestBuilder(/* private fields */);Implementations§
Source§impl ServiceRequestBuilder
impl ServiceRequestBuilder
pub fn new() -> Self
pub fn new_from_body(body: ServiceRequest) -> Self
pub fn build(self) -> ServiceRequest
pub fn with_requesting_id(self, requesting_id: EntityId) -> Self
pub fn with_servicing_id(self, servicing_id: EntityId) -> Self
pub fn with_service_type_requested( self, service_type_requested: ServiceRequestServiceTypeRequested, ) -> Self
pub fn with_supply(self, supplies: SupplyQuantity) -> Self
pub fn with_supplies(self, supplies: Vec<SupplyQuantity>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServiceRequestBuilder
impl RefUnwindSafe for ServiceRequestBuilder
impl Send for ServiceRequestBuilder
impl Sync for ServiceRequestBuilder
impl Unpin for ServiceRequestBuilder
impl UnwindSafe for ServiceRequestBuilder
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