pub struct GetStyleSheetText {
pub method: GetStyleSheetTextMethod,
pub params: GetStyleSheetTextParams,
}Expand description
Returns the current textual content for a stylesheet. getStyleSheetText
Fields§
§method: GetStyleSheetTextMethod§params: GetStyleSheetTextParamsImplementations§
Source§impl GetStyleSheetText
impl GetStyleSheetText
pub fn builder() -> GetStyleSheetTextBuilder
Source§impl GetStyleSheetText
impl GetStyleSheetText
pub const IDENTIFIER: &'static str = "CSS.getStyleSheetText"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetStyleSheetText
impl Clone for GetStyleSheetText
Source§fn clone(&self) -> GetStyleSheetText
fn clone(&self) -> GetStyleSheetText
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 GetStyleSheetText
impl CommandResult for GetStyleSheetText
type Result = GetStyleSheetTextResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetStyleSheetText
impl Debug for GetStyleSheetText
Source§impl<'de> Deserialize<'de> for GetStyleSheetText
impl<'de> Deserialize<'de> for GetStyleSheetText
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<GetStyleSheetText> for BrowserProtocolCommands
impl From<GetStyleSheetText> for BrowserProtocolCommands
Source§fn from(v: GetStyleSheetText) -> Self
fn from(v: GetStyleSheetText) -> Self
Converts to this type from the input type.
Source§impl From<GetStyleSheetText> for Command
impl From<GetStyleSheetText> for Command
Source§fn from(v: GetStyleSheetText) -> Self
fn from(v: GetStyleSheetText) -> Self
Converts to this type from the input type.
Source§impl From<GetStyleSheetText> for CssCommands
impl From<GetStyleSheetText> for CssCommands
Source§fn from(v: GetStyleSheetText) -> Self
fn from(v: GetStyleSheetText) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetStyleSheetText
impl PartialEq for GetStyleSheetText
Source§impl Serialize for GetStyleSheetText
impl Serialize for GetStyleSheetText
Source§impl TryFrom<BrowserProtocolCommands> for GetStyleSheetText
impl TryFrom<BrowserProtocolCommands> for GetStyleSheetText
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, <GetStyleSheetText as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetStyleSheetText as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetStyleSheetText
impl TryFrom<Command> for GetStyleSheetText
Source§impl TryFrom<CssCommands> for GetStyleSheetText
impl TryFrom<CssCommands> for GetStyleSheetText
Source§type Error = CssCommands
type Error = CssCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: CssCommands,
) -> Result<Self, <GetStyleSheetText as TryFrom<CssCommands>>::Error>
fn try_from( e: CssCommands, ) -> Result<Self, <GetStyleSheetText as TryFrom<CssCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetStyleSheetText
Auto Trait Implementations§
impl Freeze for GetStyleSheetText
impl RefUnwindSafe for GetStyleSheetText
impl Send for GetStyleSheetText
impl Sync for GetStyleSheetText
impl Unpin for GetStyleSheetText
impl UnsafeUnpin for GetStyleSheetText
impl UnwindSafe for GetStyleSheetText
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