pub struct Subscription { /* private fields */ }Expand description
Request descriptor for one Gingr subscription/package record by provider ID.
Implementations§
Source§impl Subscription
impl Subscription
Sourcepub fn new(id: SubscriptionId) -> Self
pub fn new(id: SubscriptionId) -> Self
Wraps the Gingr value used by this commerce request without treating it as NVA billing truth.
Trait Implementations§
Source§impl Clone for Subscription
impl Clone for Subscription
Source§fn clone(&self) -> Subscription
fn clone(&self) -> Subscription
Returns a duplicate of the value. Read more
1.0.0 · 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 Subscription
impl Debug for Subscription
Source§impl PartialEq for Subscription
impl PartialEq for Subscription
Source§impl Request for Subscription
impl Request for Subscription
Source§fn path(&self) -> &'static str
fn path(&self) -> &'static str
Returns the Gingr API path used for request capture and transport.
Source§fn parameters(&self) -> Vec<(String, String)>
fn parameters(&self) -> Vec<(String, String)>
Returns the query or form parameters that document exactly what provider facts are requested.
Source§fn sensitive_parameter_names(&self) -> &'static [&'static str]
fn sensitive_parameter_names(&self) -> &'static [&'static str]
Names provider parameters such as phone, email, or API key that must be redacted in diagnostics.
Source§fn request_parts(&self) -> RequestParts
fn request_parts(&self) -> RequestParts
Converts the descriptor into transport-ready parts without sending a live Gingr request.
impl Eq for Subscription
impl StructuralPartialEq for Subscription
Auto Trait Implementations§
impl Freeze for Subscription
impl RefUnwindSafe for Subscription
impl Send for Subscription
impl Sync for Subscription
impl Unpin for Subscription
impl UnsafeUnpin for Subscription
impl UnwindSafe for Subscription
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