pub struct AllNewsQuery {
pub last_cid: Option<String>,
}Expand description
获取所有新闻查询参数
Fields§
§last_cid: Option<String>分页参数,从指定cid之后开始获取
Trait Implementations§
Source§impl Debug for AllNewsQuery
impl Debug for AllNewsQuery
Source§impl<'de> Deserialize<'de> for AllNewsQuery
impl<'de> Deserialize<'de> for AllNewsQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl IntoParams for AllNewsQuery
impl IntoParams for AllNewsQuery
Source§fn into_params(
parameter_in_provider: impl Fn() -> Option<ParameterIn>,
) -> Vec<Parameter>
fn into_params( parameter_in_provider: impl Fn() -> Option<ParameterIn>, ) -> Vec<Parameter>
Provide
Vec of openapi::path::Parameters to caller. The result is used in utoipa-gen library to
provide OpenAPI parameter information for the endpoint using the parameters.Auto Trait Implementations§
impl Freeze for AllNewsQuery
impl RefUnwindSafe for AllNewsQuery
impl Send for AllNewsQuery
impl Sync for AllNewsQuery
impl Unpin for AllNewsQuery
impl UnwindSafe for AllNewsQuery
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