pub struct TimeParams {
pub id: Option<String>,
}Expand description
Request parameters for the [time] operation.
This struct holds all of the inputs you can pass when calling
time.
Fields§
§id: Option<String>Unique WebSocket request ID.
This field is **optional.
Implementations§
Source§impl TimeParams
impl TimeParams
Sourcepub fn builder() -> TimeParamsBuilder
pub fn builder() -> TimeParamsBuilder
Create a builder for [time].
Trait Implementations§
Source§impl Clone for TimeParams
impl Clone for TimeParams
Source§fn clone(&self) -> TimeParams
fn clone(&self) -> TimeParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TimeParams
impl Debug for TimeParams
Source§impl Default for TimeParams
impl Default for TimeParams
Source§fn default() -> TimeParams
fn default() -> TimeParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TimeParams
impl RefUnwindSafe for TimeParams
impl Send for TimeParams
impl Sync for TimeParams
impl Unpin for TimeParams
impl UnsafeUnpin for TimeParams
impl UnwindSafe for TimeParams
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