pub struct TriggerParamsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> TriggerParamsBuilder<'a>
impl<'a> TriggerParamsBuilder<'a>
Sourcepub fn frame_id(self, frame_id: FrameId<'a>) -> Self
pub fn frame_id(self, frame_id: FrameId<'a>) -> Self
Identifies the frame that field belongs to.
Sourcepub fn card(self, card: CreditCard<'a>) -> Self
pub fn card(self, card: CreditCard<'a>) -> Self
Credit card information to fill out the form. Credit card data is not saved. Mutually exclusive with ‘address’.
Sourcepub fn address(self, address: Address<'a>) -> Self
pub fn address(self, address: Address<'a>) -> Self
Address to fill out the form. Address data is not saved. Mutually exclusive with ‘card’.
pub fn build(self) -> TriggerParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for TriggerParamsBuilder<'a>
impl<'a> RefUnwindSafe for TriggerParamsBuilder<'a>
impl<'a> Send for TriggerParamsBuilder<'a>
impl<'a> Sync for TriggerParamsBuilder<'a>
impl<'a> Unpin for TriggerParamsBuilder<'a>
impl<'a> UnsafeUnpin for TriggerParamsBuilder<'a>
impl<'a> UnwindSafe for TriggerParamsBuilder<'a>
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