Struct servo_config::prefs::gen::Prefs__devtools__server
source · pub struct Prefs__devtools__server {
pub enabled: bool,
pub port: i64,
}
Fields§
§enabled: bool
§port: i64
Trait Implementations§
source§impl Clone for Prefs__devtools__server
impl Clone for Prefs__devtools__server
source§fn clone(&self) -> Prefs__devtools__server
fn clone(&self) -> Prefs__devtools__server
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 Prefs__devtools__server
impl Debug for Prefs__devtools__server
source§impl Default for Prefs__devtools__server
impl Default for Prefs__devtools__server
source§fn default() -> Prefs__devtools__server
fn default() -> Prefs__devtools__server
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Prefs__devtools__server
impl<'de> Deserialize<'de> for Prefs__devtools__server
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 PartialEq<Prefs__devtools__server> for Prefs__devtools__server
impl PartialEq<Prefs__devtools__server> for Prefs__devtools__server
source§fn eq(&self, other: &Prefs__devtools__server) -> bool
fn eq(&self, other: &Prefs__devtools__server) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Prefs__devtools__server
impl Serialize for Prefs__devtools__server
impl StructuralPartialEq for Prefs__devtools__server
Auto Trait Implementations§
impl RefUnwindSafe for Prefs__devtools__server
impl Send for Prefs__devtools__server
impl Sync for Prefs__devtools__server
impl Unpin for Prefs__devtools__server
impl UnwindSafe for Prefs__devtools__server
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