pub struct SearchCharge { /* private fields */ }
Expand description
Search for charges you’ve previously created using Stripe’s Search Query Language. Don’t use search in read-after-write flows where strict consistency is necessary. Under normal operating. conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up. to an hour behind during outages. Search functionality is not available to merchants in India.
Implementations§
Source§impl SearchCharge
impl SearchCharge
Source§impl SearchCharge
impl SearchCharge
Sourcepub async fn send<C: StripeClient>(
&self,
client: &C,
) -> Result<<Self as StripeRequest>::Output, C::Err>
pub async fn send<C: StripeClient>( &self, client: &C, ) -> Result<<Self as StripeRequest>::Output, C::Err>
Send the request and return the deserialized response.
Sourcepub fn send_blocking<C: StripeBlockingClient>(
&self,
client: &C,
) -> Result<<Self as StripeRequest>::Output, C::Err>
pub fn send_blocking<C: StripeBlockingClient>( &self, client: &C, ) -> Result<<Self as StripeRequest>::Output, C::Err>
Send the request and return the deserialized response, blocking until completion.
pub fn paginate(&self) -> ListPaginator<SearchList<Charge>>
Trait Implementations§
Source§impl Clone for SearchCharge
impl Clone for SearchCharge
Source§fn clone(&self) -> SearchCharge
fn clone(&self) -> SearchCharge
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 SearchCharge
impl Debug for SearchCharge
Source§impl Serialize for SearchCharge
impl Serialize for SearchCharge
Source§impl StripeRequest for SearchCharge
impl StripeRequest for SearchCharge
Source§type Output = SearchList<Charge>
type Output = SearchList<Charge>
The data returned from the eventual API call.
Source§fn build(&self) -> RequestBuilder
fn build(&self) -> RequestBuilder
Convert the struct into library-agnostic data that can be used by compatible
clients to make API calls.
Source§fn customize(&self) -> CustomizableStripeRequest<Self::Output>
fn customize(&self) -> CustomizableStripeRequest<Self::Output>
Convert to a builder allowing per-request customization.
Auto Trait Implementations§
impl Freeze for SearchCharge
impl RefUnwindSafe for SearchCharge
impl Send for SearchCharge
impl Sync for SearchCharge
impl Unpin for SearchCharge
impl UnwindSafe for SearchCharge
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