pub struct Query {
pub app_cd: Option<i32>,
pub offset: Option<i32>,
pub limit: Option<i32>,
pub current: Option<bool>,
pub category_id: Option<i32>,
pub detail: Option<bool>,
pub key: Option<String>,
pub fields: Option<Vec<String>>,
}
Expand description
Fields§
§app_cd: Option<i32>
§offset: Option<i32>
§limit: Option<i32>
§current: Option<bool>
§category_id: Option<i32>
§detail: Option<bool>
§key: Option<String>
§fields: Option<Vec<String>>
Implementations§
Source§impl Query
impl Query
pub fn builder() -> Self
pub fn to_queries(&self) -> Vec<(String, String)>
pub fn app_cd(self, app_cd: i32) -> Self
pub fn offset(self, offset: i32) -> Self
pub fn limit(self, limit: i32) -> Self
pub fn current(self, current: bool) -> Self
pub fn category_id(self, category_id: i32) -> Self
pub fn detail(self, detail: bool) -> Self
pub fn key(self, key: &str) -> Self
pub fn fields(self, fields: Vec<String>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
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