pub struct GetMandateRevocation<'a> { /* private fields */ }Expand description
Builder for [Client::get_mandate_revocation]
[`Client::get_mandate_revocation`]: super::Client::get_mandate_revocationImplementations§
Source§impl<'a> GetMandateRevocation<'a>
impl<'a> GetMandateRevocation<'a>
pub fn new(client: &'a Client) -> Self
pub fn mandate_id<V>(self, value: V) -> Self
pub fn revocation_id<V>(self, value: V) -> Selfwhere
V: TryInto<RevocationId>,
Sourcepub async fn send(self) -> Result<ResponseValue<Revocation>, Error<Error>>
pub async fn send(self) -> Result<ResponseValue<Revocation>, Error<Error>>
Sends a GET request to /v2/mandates/{mandateId}/revocations/{revocationId}
Trait Implementations§
Source§impl<'a> Clone for GetMandateRevocation<'a>
impl<'a> Clone for GetMandateRevocation<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GetMandateRevocation<'a>
impl<'a> !UnwindSafe for GetMandateRevocation<'a>
impl<'a> Freeze for GetMandateRevocation<'a>
impl<'a> Send for GetMandateRevocation<'a>
impl<'a> Sync for GetMandateRevocation<'a>
impl<'a> Unpin for GetMandateRevocation<'a>
impl<'a> UnsafeUnpin for GetMandateRevocation<'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