pub struct PageRequestSpec {
pub client: Client,
pub endpoint_id: &'static str,
pub method: Method,
pub path: String,
pub query: BTreeMap<String, Option<String>>,
}Expand description
表示分页下一页请求所需的元信息。
Fields§
§client: Client发起下一页请求的客户端。
endpoint_id: &'static str端点 ID。
method: MethodHTTP 方法。
path: String请求路径。
query: BTreeMap<String, Option<String>>查询参数。
Trait Implementations§
Source§impl Clone for PageRequestSpec
impl Clone for PageRequestSpec
Source§fn clone(&self) -> PageRequestSpec
fn clone(&self) -> PageRequestSpec
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 moreAuto Trait Implementations§
impl Freeze for PageRequestSpec
impl !RefUnwindSafe for PageRequestSpec
impl Send for PageRequestSpec
impl Sync for PageRequestSpec
impl Unpin for PageRequestSpec
impl UnsafeUnpin for PageRequestSpec
impl !UnwindSafe for PageRequestSpec
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