pub struct ProviderRequestPayload { /* private fields */ }Expand description
Typed fact payload for provider selection requests.
Implementations§
Source§impl ProviderRequestPayload
impl ProviderRequestPayload
pub fn new(request: ProviderRequest) -> Self
pub fn request(&self) -> &ProviderRequest
Trait Implementations§
Source§impl Clone for ProviderRequestPayload
impl Clone for ProviderRequestPayload
Source§fn clone(&self) -> ProviderRequestPayload
fn clone(&self) -> ProviderRequestPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProviderRequestPayload
impl Debug for ProviderRequestPayload
Source§impl<'de> Deserialize<'de> for ProviderRequestPayload
impl<'de> Deserialize<'de> for ProviderRequestPayload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FactPayload for ProviderRequestPayload
impl FactPayload for ProviderRequestPayload
Source§impl From<ProviderRequest> for ProviderRequestPayload
impl From<ProviderRequest> for ProviderRequestPayload
Source§fn from(request: ProviderRequest) -> Self
fn from(request: ProviderRequest) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProviderRequestPayload
impl PartialEq for ProviderRequestPayload
Source§fn eq(&self, other: &ProviderRequestPayload) -> bool
fn eq(&self, other: &ProviderRequestPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProviderRequestPayload
impl Serialize for ProviderRequestPayload
impl StructuralPartialEq for ProviderRequestPayload
Auto Trait Implementations§
impl Freeze for ProviderRequestPayload
impl RefUnwindSafe for ProviderRequestPayload
impl Send for ProviderRequestPayload
impl Sync for ProviderRequestPayload
impl Unpin for ProviderRequestPayload
impl UnsafeUnpin for ProviderRequestPayload
impl UnwindSafe for ProviderRequestPayload
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