pub struct GetCertificate {
pub method: GetCertificateMethod,
pub params: GetCertificateParams,
}Expand description
Returns the DER-encoded certificate. getCertificate
Fields§
§method: GetCertificateMethod§params: GetCertificateParamsImplementations§
Source§impl GetCertificate
impl GetCertificate
pub fn builder() -> GetCertificateBuilder
Source§impl GetCertificate
impl GetCertificate
pub const IDENTIFIER: &'static str = "Network.getCertificate"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetCertificate
impl Clone for GetCertificate
Source§fn clone(&self) -> GetCertificate
fn clone(&self) -> GetCertificate
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 GetCertificate
impl CommandResult for GetCertificate
type Result = GetCertificateResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetCertificate
impl Debug for GetCertificate
Source§impl<'de> Deserialize<'de> for GetCertificate
impl<'de> Deserialize<'de> for GetCertificate
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<GetCertificate> for BrowserProtocolCommands
impl From<GetCertificate> for BrowserProtocolCommands
Source§fn from(v: GetCertificate) -> Self
fn from(v: GetCertificate) -> Self
Converts to this type from the input type.
Source§impl From<GetCertificate> for Command
impl From<GetCertificate> for Command
Source§fn from(v: GetCertificate) -> Self
fn from(v: GetCertificate) -> Self
Converts to this type from the input type.
Source§impl From<GetCertificate> for NetworkCommands
impl From<GetCertificate> for NetworkCommands
Source§fn from(v: GetCertificate) -> Self
fn from(v: GetCertificate) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetCertificate
impl PartialEq for GetCertificate
Source§impl Serialize for GetCertificate
impl Serialize for GetCertificate
Source§impl TryFrom<BrowserProtocolCommands> for GetCertificate
impl TryFrom<BrowserProtocolCommands> for GetCertificate
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, <GetCertificate as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetCertificate as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetCertificate
impl TryFrom<Command> for GetCertificate
Source§impl TryFrom<NetworkCommands> for GetCertificate
impl TryFrom<NetworkCommands> for GetCertificate
Source§type Error = NetworkCommands
type Error = NetworkCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: NetworkCommands,
) -> Result<Self, <GetCertificate as TryFrom<NetworkCommands>>::Error>
fn try_from( e: NetworkCommands, ) -> Result<Self, <GetCertificate as TryFrom<NetworkCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetCertificate
Auto Trait Implementations§
impl Freeze for GetCertificate
impl RefUnwindSafe for GetCertificate
impl Send for GetCertificate
impl Sync for GetCertificate
impl Unpin for GetCertificate
impl UnsafeUnpin for GetCertificate
impl UnwindSafe for GetCertificate
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