pub struct ReplaySnapshotReturns {
pub data_url: String,
}
Expand description
Replays the layer snapshot and returns the resulting bitmap. replaySnapshot
Fields§
§data_url: String
A data: URL for resulting image.
Implementations§
source§impl ReplaySnapshotReturns
impl ReplaySnapshotReturns
pub fn new(data_url: impl Into<String>) -> ReplaySnapshotReturns
source§impl ReplaySnapshotReturns
impl ReplaySnapshotReturns
pub fn builder() -> ReplaySnapshotReturnsBuilder
Trait Implementations§
source§impl Clone for ReplaySnapshotReturns
impl Clone for ReplaySnapshotReturns
source§fn clone(&self) -> ReplaySnapshotReturns
fn clone(&self) -> ReplaySnapshotReturns
Returns a copy 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 ReplaySnapshotReturns
impl Debug for ReplaySnapshotReturns
source§impl<'de> Deserialize<'de> for ReplaySnapshotReturns
impl<'de> Deserialize<'de> for ReplaySnapshotReturns
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ReplaySnapshotReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ReplaySnapshotReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T> From<T> for ReplaySnapshotReturns
impl<T> From<T> for ReplaySnapshotReturns
source§fn from(url: T) -> ReplaySnapshotReturns
fn from(url: T) -> ReplaySnapshotReturns
Converts to this type from the input type.
source§impl PartialEq for ReplaySnapshotReturns
impl PartialEq for ReplaySnapshotReturns
source§fn eq(&self, other: &ReplaySnapshotReturns) -> bool
fn eq(&self, other: &ReplaySnapshotReturns) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReplaySnapshotReturns
impl Serialize for ReplaySnapshotReturns
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ReplaySnapshotReturns
Auto Trait Implementations§
impl Freeze for ReplaySnapshotReturns
impl RefUnwindSafe for ReplaySnapshotReturns
impl Send for ReplaySnapshotReturns
impl Sync for ReplaySnapshotReturns
impl Unpin for ReplaySnapshotReturns
impl UnwindSafe for ReplaySnapshotReturns
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