pub struct TravelRule { /* private fields */ }Implementations§
Source§impl TravelRule
impl TravelRule
pub fn beneficiary<T>(self, value: T) -> Self
pub fn is_intermediary<T>(self, value: T) -> Self
pub fn is_self<T>(self, value: T) -> Self
pub fn originator<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for TravelRule
impl Clone for TravelRule
Source§fn clone(&self) -> TravelRule
fn clone(&self) -> TravelRule
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 TravelRule
impl Debug for TravelRule
Source§impl Default for TravelRule
impl Default for TravelRule
Source§impl From<TravelRule> for TravelRule
impl From<TravelRule> for TravelRule
Source§fn from(value: TravelRule) -> Self
fn from(value: TravelRule) -> Self
Converts to this type from the input type.
Source§impl TryFrom<TravelRule> for TravelRule
impl TryFrom<TravelRule> for TravelRule
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TravelRule) -> Result<Self, ConversionError>
fn try_from(value: TravelRule) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TravelRule
impl RefUnwindSafe for TravelRule
impl Send for TravelRule
impl Sync for TravelRule
impl Unpin for TravelRule
impl UnsafeUnpin for TravelRule
impl UnwindSafe for TravelRule
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