pub struct Rule {
pub action: String,
pub id: RuleId,
pub predicate: String,
}Fields§
§action: StringThe action taken on the payment.
id: RuleIdUnique identifier for the object.
predicate: StringThe predicate to evaluate the payment against.
Trait Implementations§
Source§impl Deserialize for Rule
impl Deserialize for Rule
Source§impl ObjectDeser for Rule
impl ObjectDeser for Rule
type Builder = RuleBuilder
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
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