pub struct ListTerm { /* private fields */ }Expand description
集計区間(Termオブジェクト)のリストを取得します。
Implementations§
Source§impl ListTerm
impl ListTerm
Sourcepub fn since_start_at(self, since_start_at: impl Into<i64>) -> Self
pub fn since_start_at(self, since_start_at: impl Into<i64>) -> Self
start_atが指定したタイムスタンプ以降のオブジェクトを取得
Sourcepub fn until_start_at(self, until_start_at: impl Into<i64>) -> Self
pub fn until_start_at(self, until_start_at: impl Into<i64>) -> Self
start_atが指定したタイムスタンプ以前のオブジェクトを取得
Source§impl ListTerm
impl ListTerm
Sourcepub async fn send<C: PayjpClient>(
&self,
client: &C,
) -> Result<<Self as PayjpRequest>::Output, C::Err>
pub async fn send<C: PayjpClient>( &self, client: &C, ) -> Result<<Self as PayjpRequest>::Output, C::Err>
Send the request and return the deserialized response.
Sourcepub fn send_blocking<C: BlockingClient>(
&self,
client: &C,
) -> Result<<Self as PayjpRequest>::Output, C::Err>
pub fn send_blocking<C: BlockingClient>( &self, client: &C, ) -> Result<<Self as PayjpRequest>::Output, C::Err>
Send the request and return the deserialized response, blocking until completion.
pub fn paginate(&self) -> ListPaginator<List<Term>>
Trait Implementations§
Source§impl PayjpRequest for ListTerm
impl PayjpRequest for ListTerm
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) -> CustomizablePayjpRequest<Self::Output>
fn customize(&self) -> CustomizablePayjpRequest<Self::Output>
Convert to a builder allowing per-request customization.
Auto Trait Implementations§
impl Freeze for ListTerm
impl RefUnwindSafe for ListTerm
impl Send for ListTerm
impl Sync for ListTerm
impl Unpin for ListTerm
impl UnwindSafe for ListTerm
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