pub struct Rule {
pub action: String,
pub id: RuleId,
pub predicate: String,
}
Fields§
§action: String
The action taken on the payment.
id: RuleId
Unique identifier for the object.
predicate: String
The 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