pub struct WindowSpec {
pub duration: u64,
pub unit: String,
}Fields§
§duration: u64§unit: StringTrait Implementations§
Source§impl Clone for WindowSpec
impl Clone for WindowSpec
Source§impl Debug for WindowSpec
impl Debug for WindowSpec
Source§impl<'de> Deserialize<'de> for WindowSpec
impl<'de> Deserialize<'de> for WindowSpec
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 From<&WindowSpec> for WindowSpec
impl From<&WindowSpec> for WindowSpec
Source§fn from(w: &WindowSpec) -> Self
fn from(w: &WindowSpec) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for WindowSpec
impl Freeze for WindowSpec
impl Move for WindowSpec
impl RefUnwindSafe for WindowSpec
impl Send for WindowSpecwhere
RawVecInner: Send,
impl Sync for WindowSpecwhere
RawVecInner: Sync,
impl Unpin for WindowSpec
impl UnsafeUnpin for WindowSpec
impl UnwindSafe for WindowSpecwhere
RawVecInner: UnwindSafe,
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