pub struct GetVersionReturns<'a> { /* private fields */ }Expand description
Returns version information.
Implementations§
Source§impl<'a> GetVersionReturns<'a>
impl<'a> GetVersionReturns<'a>
Sourcepub fn builder(
protocol_version: impl Into<Cow<'a, str>>,
product: impl Into<Cow<'a, str>>,
revision: impl Into<Cow<'a, str>>,
user_agent: impl Into<Cow<'a, str>>,
js_version: impl Into<Cow<'a, str>>,
) -> GetVersionReturnsBuilder<'a>
pub fn builder( protocol_version: impl Into<Cow<'a, str>>, product: impl Into<Cow<'a, str>>, revision: impl Into<Cow<'a, str>>, user_agent: impl Into<Cow<'a, str>>, js_version: impl Into<Cow<'a, str>>, ) -> GetVersionReturnsBuilder<'a>
Creates a builder for this type with the required parameters:
protocol_version: Protocol version.product: Product name.revision: Product revision.user_agent: User-Agent.js_version: V8 version.
Sourcepub fn protocol_version(&self) -> &str
pub fn protocol_version(&self) -> &str
Protocol version.
Sourcepub fn user_agent(&self) -> &str
pub fn user_agent(&self) -> &str
User-Agent.
Sourcepub fn js_version(&self) -> &str
pub fn js_version(&self) -> &str
V8 version.
Trait Implementations§
Source§impl<'a> Clone for GetVersionReturns<'a>
impl<'a> Clone for GetVersionReturns<'a>
Source§fn clone(&self) -> GetVersionReturns<'a>
fn clone(&self) -> GetVersionReturns<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for GetVersionReturns<'a>
impl<'a> Debug for GetVersionReturns<'a>
Source§impl<'a> Default for GetVersionReturns<'a>
impl<'a> Default for GetVersionReturns<'a>
Source§fn default() -> GetVersionReturns<'a>
fn default() -> GetVersionReturns<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for GetVersionReturns<'a>
impl<'de, 'a> Deserialize<'de> for GetVersionReturns<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for GetVersionReturns<'a>
impl<'a> RefUnwindSafe for GetVersionReturns<'a>
impl<'a> Send for GetVersionReturns<'a>
impl<'a> Sync for GetVersionReturns<'a>
impl<'a> Unpin for GetVersionReturns<'a>
impl<'a> UnsafeUnpin for GetVersionReturns<'a>
impl<'a> UnwindSafe for GetVersionReturns<'a>
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