Struct chromiumoxide::cdp::browser_protocol::page::SetFontFamiliesParams
source · [−]pub struct SetFontFamiliesParams {
pub font_families: FontFamilies,
}Expand description
Set generic font families. setFontFamilies
Fields
font_families: FontFamiliesSpecifies font families to set. If a font family is not specified, it won’t be changed.
Implementations
sourceimpl SetFontFamiliesParams
impl SetFontFamiliesParams
pub fn new(font_families: impl Into<FontFamilies>) -> SetFontFamiliesParams
sourceimpl SetFontFamiliesParams
impl SetFontFamiliesParams
pub fn builder() -> SetFontFamiliesParamsBuilder
sourceimpl SetFontFamiliesParams
impl SetFontFamiliesParams
pub const IDENTIFIER: &'static str
Trait Implementations
sourceimpl Clone for SetFontFamiliesParams
impl Clone for SetFontFamiliesParams
sourcefn clone(&self) -> SetFontFamiliesParams
fn clone(&self) -> SetFontFamiliesParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Command for SetFontFamiliesParams
impl Command for SetFontFamiliesParams
type Response = SetFontFamiliesReturns
type Response = SetFontFamiliesReturns
The type of the response this request triggers on the chromium server
sourceimpl Debug for SetFontFamiliesParams
impl Debug for SetFontFamiliesParams
sourceimpl<'de> Deserialize<'de> for SetFontFamiliesParams
impl<'de> Deserialize<'de> for SetFontFamiliesParams
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<SetFontFamiliesParams, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SetFontFamiliesParams, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Method for SetFontFamiliesParams
impl Method for SetFontFamiliesParams
sourcefn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like: DOM.removeNode
sourcefn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to: DOM
sourcefn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain: removeNode
sourceimpl MethodType for SetFontFamiliesParams
impl MethodType for SetFontFamiliesParams
sourceimpl PartialEq<SetFontFamiliesParams> for SetFontFamiliesParams
impl PartialEq<SetFontFamiliesParams> for SetFontFamiliesParams
sourcefn eq(&self, other: &SetFontFamiliesParams) -> bool
fn eq(&self, other: &SetFontFamiliesParams) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SetFontFamiliesParams) -> bool
fn ne(&self, other: &SetFontFamiliesParams) -> bool
This method tests for !=.
sourceimpl Serialize for SetFontFamiliesParams
impl Serialize for SetFontFamiliesParams
sourcefn 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 SetFontFamiliesParams
Auto Trait Implementations
impl RefUnwindSafe for SetFontFamiliesParams
impl Send for SetFontFamiliesParams
impl Sync for SetFontFamiliesParams
impl Unpin for SetFontFamiliesParams
impl UnwindSafe for SetFontFamiliesParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more