pub struct GetPlaybackRate {
pub method: GetPlaybackRateMethod,
pub params: GetPlaybackRateParams,
}Expand description
Gets the playback rate of the document timeline. getPlaybackRate
Fields§
§method: GetPlaybackRateMethod§params: GetPlaybackRateParamsImplementations§
Source§impl GetPlaybackRate
impl GetPlaybackRate
pub fn builder() -> GetPlaybackRateBuilder
Source§impl GetPlaybackRate
impl GetPlaybackRate
pub const IDENTIFIER: &'static str = "Animation.getPlaybackRate"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetPlaybackRate
impl Clone for GetPlaybackRate
Source§fn clone(&self) -> GetPlaybackRate
fn clone(&self) -> GetPlaybackRate
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 GetPlaybackRate
impl CommandResult for GetPlaybackRate
type Result = GetPlaybackRateResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetPlaybackRate
impl Debug for GetPlaybackRate
Source§impl<'de> Deserialize<'de> for GetPlaybackRate
impl<'de> Deserialize<'de> for GetPlaybackRate
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<GetPlaybackRate> for AnimationCommands
impl From<GetPlaybackRate> for AnimationCommands
Source§fn from(v: GetPlaybackRate) -> Self
fn from(v: GetPlaybackRate) -> Self
Converts to this type from the input type.
Source§impl From<GetPlaybackRate> for BrowserProtocolCommands
impl From<GetPlaybackRate> for BrowserProtocolCommands
Source§fn from(v: GetPlaybackRate) -> Self
fn from(v: GetPlaybackRate) -> Self
Converts to this type from the input type.
Source§impl From<GetPlaybackRate> for Command
impl From<GetPlaybackRate> for Command
Source§fn from(v: GetPlaybackRate) -> Self
fn from(v: GetPlaybackRate) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetPlaybackRate
impl PartialEq for GetPlaybackRate
Source§impl Serialize for GetPlaybackRate
impl Serialize for GetPlaybackRate
Source§impl TryFrom<AnimationCommands> for GetPlaybackRate
impl TryFrom<AnimationCommands> for GetPlaybackRate
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, <GetPlaybackRate as TryFrom<AnimationCommands>>::Error>
fn try_from( e: AnimationCommands, ) -> Result<Self, <GetPlaybackRate as TryFrom<AnimationCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for GetPlaybackRate
impl TryFrom<BrowserProtocolCommands> for GetPlaybackRate
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, <GetPlaybackRate as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetPlaybackRate as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetPlaybackRate
impl TryFrom<Command> for GetPlaybackRate
impl StructuralPartialEq for GetPlaybackRate
Auto Trait Implementations§
impl Freeze for GetPlaybackRate
impl RefUnwindSafe for GetPlaybackRate
impl Send for GetPlaybackRate
impl Sync for GetPlaybackRate
impl Unpin for GetPlaybackRate
impl UnsafeUnpin for GetPlaybackRate
impl UnwindSafe for GetPlaybackRate
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