pub struct PostMiscDateDiff200Response {
pub days: Option<i32>,
pub hours: Option<i32>,
pub minutes: Option<i32>,
pub seconds: Option<i32>,
pub weeks: Option<i32>,
pub human_readable: Option<String>,
}Fields§
§days: Option<i32>总天数
hours: Option<i32>总小时数
minutes: Option<i32>总分钟数
seconds: Option<i32>总秒数
weeks: Option<i32>总周数
human_readable: Option<String>人性化显示格式
Implementations§
Source§impl PostMiscDateDiff200Response
impl PostMiscDateDiff200Response
pub fn new() -> PostMiscDateDiff200Response
Trait Implementations§
Source§impl Clone for PostMiscDateDiff200Response
impl Clone for PostMiscDateDiff200Response
Source§fn clone(&self) -> PostMiscDateDiff200Response
fn clone(&self) -> PostMiscDateDiff200Response
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 PostMiscDateDiff200Response
impl Debug for PostMiscDateDiff200Response
Source§impl Default for PostMiscDateDiff200Response
impl Default for PostMiscDateDiff200Response
Source§fn default() -> PostMiscDateDiff200Response
fn default() -> PostMiscDateDiff200Response
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostMiscDateDiff200Response
impl<'de> Deserialize<'de> for PostMiscDateDiff200Response
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
impl StructuralPartialEq for PostMiscDateDiff200Response
Auto Trait Implementations§
impl Freeze for PostMiscDateDiff200Response
impl RefUnwindSafe for PostMiscDateDiff200Response
impl Send for PostMiscDateDiff200Response
impl Sync for PostMiscDateDiff200Response
impl Unpin for PostMiscDateDiff200Response
impl UnsafeUnpin for PostMiscDateDiff200Response
impl UnwindSafe for PostMiscDateDiff200Response
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