pub struct ProviderAssignmentPayload { /* private fields */ }Expand description
Typed fact payload for provider selection assignments.
Implementations§
Source§impl ProviderAssignmentPayload
impl ProviderAssignmentPayload
pub fn new(assignment: ProviderAssignment) -> Self
pub fn assignment(&self) -> &ProviderAssignment
Trait Implementations§
Source§impl Clone for ProviderAssignmentPayload
impl Clone for ProviderAssignmentPayload
Source§fn clone(&self) -> ProviderAssignmentPayload
fn clone(&self) -> ProviderAssignmentPayload
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 ProviderAssignmentPayload
impl Debug for ProviderAssignmentPayload
Source§impl<'de> Deserialize<'de> for ProviderAssignmentPayload
impl<'de> Deserialize<'de> for ProviderAssignmentPayload
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 ProviderAssignmentPayload
impl FactPayload for ProviderAssignmentPayload
Source§impl From<ProviderAssignment> for ProviderAssignmentPayload
impl From<ProviderAssignment> for ProviderAssignmentPayload
Source§fn from(assignment: ProviderAssignment) -> Self
fn from(assignment: ProviderAssignment) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProviderAssignmentPayload
impl PartialEq for ProviderAssignmentPayload
Source§fn eq(&self, other: &ProviderAssignmentPayload) -> bool
fn eq(&self, other: &ProviderAssignmentPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProviderAssignmentPayload
Auto Trait Implementations§
impl Freeze for ProviderAssignmentPayload
impl RefUnwindSafe for ProviderAssignmentPayload
impl Send for ProviderAssignmentPayload
impl Sync for ProviderAssignmentPayload
impl Unpin for ProviderAssignmentPayload
impl UnsafeUnpin for ProviderAssignmentPayload
impl UnwindSafe for ProviderAssignmentPayload
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