pub struct CheckContrast {
pub method: CheckContrastMethod,
pub params: CheckContrastParams,
}Expand description
Runs the contrast check for the target page. Found issues are reported using Audits.issueAdded event. checkContrast
Fields§
§method: CheckContrastMethod§params: CheckContrastParamsImplementations§
Source§impl CheckContrast
impl CheckContrast
pub fn builder() -> CheckContrastBuilder
Source§impl CheckContrast
impl CheckContrast
pub const IDENTIFIER: &'static str = "Audits.checkContrast"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for CheckContrast
impl Clone for CheckContrast
Source§fn clone(&self) -> CheckContrast
fn clone(&self) -> CheckContrast
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 CheckContrast
impl CommandResult for CheckContrast
type Result = CheckContrastResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for CheckContrast
impl Debug for CheckContrast
Source§impl<'de> Deserialize<'de> for CheckContrast
impl<'de> Deserialize<'de> for CheckContrast
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<CheckContrast> for AuditsCommands
impl From<CheckContrast> for AuditsCommands
Source§fn from(v: CheckContrast) -> Self
fn from(v: CheckContrast) -> Self
Converts to this type from the input type.
Source§impl From<CheckContrast> for BrowserProtocolCommands
impl From<CheckContrast> for BrowserProtocolCommands
Source§fn from(v: CheckContrast) -> Self
fn from(v: CheckContrast) -> Self
Converts to this type from the input type.
Source§impl From<CheckContrast> for Command
impl From<CheckContrast> for Command
Source§fn from(v: CheckContrast) -> Self
fn from(v: CheckContrast) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CheckContrast
impl PartialEq for CheckContrast
Source§impl Serialize for CheckContrast
impl Serialize for CheckContrast
Source§impl TryFrom<AuditsCommands> for CheckContrast
impl TryFrom<AuditsCommands> for CheckContrast
Source§type Error = AuditsCommands
type Error = AuditsCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: AuditsCommands,
) -> Result<Self, <CheckContrast as TryFrom<AuditsCommands>>::Error>
fn try_from( e: AuditsCommands, ) -> Result<Self, <CheckContrast as TryFrom<AuditsCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for CheckContrast
impl TryFrom<BrowserProtocolCommands> for CheckContrast
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, <CheckContrast as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <CheckContrast as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for CheckContrast
impl TryFrom<Command> for CheckContrast
impl StructuralPartialEq for CheckContrast
Auto Trait Implementations§
impl Freeze for CheckContrast
impl RefUnwindSafe for CheckContrast
impl Send for CheckContrast
impl Sync for CheckContrast
impl Unpin for CheckContrast
impl UnsafeUnpin for CheckContrast
impl UnwindSafe for CheckContrast
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