pub struct setSnapTime {
pub seconds: u32,
}Expand description
This structure has the same JSON and Fracpack format as the arguments to Actions::setSnapTime.
Fields§
§seconds: u32Implementations§
Source§impl setSnapTime
impl setSnapTime
pub const ACTION_NAME: &'static str = "setSnapTime"
Trait Implementations§
Source§impl Clone for setSnapTime
impl Clone for setSnapTime
Source§fn clone(&self) -> setSnapTime
fn clone(&self) -> setSnapTime
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 setSnapTime
impl Debug for setSnapTime
Source§impl<'de> Deserialize<'de> for setSnapTime
impl<'de> Deserialize<'de> for setSnapTime
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 Pack for setSnapTime
impl Pack for setSnapTime
Source§impl Serialize for setSnapTime
impl Serialize for setSnapTime
Source§impl ToSchema for setSnapTime
impl ToSchema for setSnapTime
fn schema(builder: &mut SchemaBuilder) -> AnyType
Source§impl<'a> Unpack<'a> for setSnapTime
impl<'a> Unpack<'a> for setSnapTime
Source§fn unpack(src: &mut FracInputStream<'a>) -> Result<Self>
fn unpack(src: &mut FracInputStream<'a>) -> Result<Self>
Convert from fracpack format. Also verifies the integrity of the data. Read more
Source§fn verify(src: &mut FracInputStream<'_>) -> Result<()>
fn verify(src: &mut FracInputStream<'_>) -> Result<()>
Verify the integrity of fracpack data. You don’t need to call this if
using [Pack::unpack] since it verifies integrity during unpack.
Auto Trait Implementations§
impl Freeze for setSnapTime
impl RefUnwindSafe for setSnapTime
impl Send for setSnapTime
impl Sync for setSnapTime
impl Unpin for setSnapTime
impl UnsafeUnpin for setSnapTime
impl UnwindSafe for setSnapTime
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