pub struct GetVersionReturns<'a> { /* private fields */ }Expand description
Returns version information.
Implementations§
Source§impl<'a> GetVersionReturns<'a>
impl<'a> GetVersionReturns<'a>
pub fn builder( protocolVersion: impl Into<Cow<'a, str>>, product: impl Into<Cow<'a, str>>, revision: impl Into<Cow<'a, str>>, userAgent: impl Into<Cow<'a, str>>, jsVersion: impl Into<Cow<'a, str>>, ) -> GetVersionReturnsBuilder<'a>
pub fn protocolVersion(&self) -> &str
pub fn product(&self) -> &str
pub fn revision(&self) -> &str
pub fn userAgent(&self) -> &str
pub fn jsVersion(&self) -> &str
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