pub struct GetCurrentTime {
pub method: GetCurrentTimeMethod,
pub params: GetCurrentTimeParams,
}Expand description
Returns the current time of the an animation. getCurrentTime
Fields§
§method: GetCurrentTimeMethod§params: GetCurrentTimeParamsImplementations§
Source§impl GetCurrentTime
impl GetCurrentTime
pub fn builder() -> GetCurrentTimeBuilder
Source§impl GetCurrentTime
impl GetCurrentTime
pub const IDENTIFIER: &'static str = "Animation.getCurrentTime"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetCurrentTime
impl Clone for GetCurrentTime
Source§fn clone(&self) -> GetCurrentTime
fn clone(&self) -> GetCurrentTime
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 CommandResult for GetCurrentTime
impl CommandResult for GetCurrentTime
type Result = GetCurrentTimeResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetCurrentTime
impl Debug for GetCurrentTime
Source§impl<'de> Deserialize<'de> for GetCurrentTime
impl<'de> Deserialize<'de> for GetCurrentTime
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<GetCurrentTime> for AnimationCommands
impl From<GetCurrentTime> for AnimationCommands
Source§fn from(v: GetCurrentTime) -> Self
fn from(v: GetCurrentTime) -> Self
Converts to this type from the input type.
Source§impl From<GetCurrentTime> for BrowserProtocolCommands
impl From<GetCurrentTime> for BrowserProtocolCommands
Source§fn from(v: GetCurrentTime) -> Self
fn from(v: GetCurrentTime) -> Self
Converts to this type from the input type.
Source§impl From<GetCurrentTime> for Command
impl From<GetCurrentTime> for Command
Source§fn from(v: GetCurrentTime) -> Self
fn from(v: GetCurrentTime) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetCurrentTime
impl PartialEq for GetCurrentTime
Source§impl Serialize for GetCurrentTime
impl Serialize for GetCurrentTime
Source§impl TryFrom<AnimationCommands> for GetCurrentTime
impl TryFrom<AnimationCommands> for GetCurrentTime
Source§type Error = AnimationCommands
type Error = AnimationCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: AnimationCommands,
) -> Result<Self, <GetCurrentTime as TryFrom<AnimationCommands>>::Error>
fn try_from( e: AnimationCommands, ) -> Result<Self, <GetCurrentTime as TryFrom<AnimationCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for GetCurrentTime
impl TryFrom<BrowserProtocolCommands> for GetCurrentTime
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <GetCurrentTime as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetCurrentTime as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetCurrentTime
impl TryFrom<Command> for GetCurrentTime
impl StructuralPartialEq for GetCurrentTime
Auto Trait Implementations§
impl Freeze for GetCurrentTime
impl RefUnwindSafe for GetCurrentTime
impl Send for GetCurrentTime
impl Sync for GetCurrentTime
impl Unpin for GetCurrentTime
impl UnsafeUnpin for GetCurrentTime
impl UnwindSafe for GetCurrentTime
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