pub struct CertificateTrustDialogOptions { /* private fields */ }Implementations§
Source§impl CertificateTrustDialogOptions
impl CertificateTrustDialogOptions
pub fn new( certificate: Certificate, message: JsString, ) -> CertificateTrustDialogOptions
pub fn certificate(&self) -> Certificate
pub fn set_certificate(&mut self, value: Certificate)
pub fn message(&self) -> JsString
pub fn set_message(&mut self, value: JsString)
Trait Implementations§
Source§impl Clone for CertificateTrustDialogOptions
impl Clone for CertificateTrustDialogOptions
Source§fn clone(&self) -> CertificateTrustDialogOptions
fn clone(&self) -> CertificateTrustDialogOptions
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 From<CertificateTrustDialogOptions> for JsValue
impl From<CertificateTrustDialogOptions> for JsValue
Source§fn from(value: CertificateTrustDialogOptions) -> Self
fn from(value: CertificateTrustDialogOptions) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CertificateTrustDialogOptions
impl PartialEq for CertificateTrustDialogOptions
Source§fn eq(&self, other: &CertificateTrustDialogOptions) -> bool
fn eq(&self, other: &CertificateTrustDialogOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefFromWasmAbi for CertificateTrustDialogOptions
impl RefFromWasmAbi for CertificateTrustDialogOptions
Source§type Anchor = RcRef<CertificateTrustDialogOptions>
type Anchor = RcRef<CertificateTrustDialogOptions>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl VectorFromWasmAbi for CertificateTrustDialogOptions
impl VectorFromWasmAbi for CertificateTrustDialogOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[CertificateTrustDialogOptions]>
Source§impl VectorIntoJsValue for CertificateTrustDialogOptions
impl VectorIntoJsValue for CertificateTrustDialogOptions
fn vector_into_jsvalue(vector: Box<[CertificateTrustDialogOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for CertificateTrustDialogOptions
impl VectorIntoWasmAbi for CertificateTrustDialogOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[CertificateTrustDialogOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for CertificateTrustDialogOptions
impl WasmDescribeVector for CertificateTrustDialogOptions
impl StructuralPartialEq for CertificateTrustDialogOptions
impl SupportsConstructor for CertificateTrustDialogOptions
impl SupportsInstanceProperty for CertificateTrustDialogOptions
impl SupportsStaticProperty for CertificateTrustDialogOptions
Auto Trait Implementations§
impl Freeze for CertificateTrustDialogOptions
impl RefUnwindSafe for CertificateTrustDialogOptions
impl !Send for CertificateTrustDialogOptions
impl !Sync for CertificateTrustDialogOptions
impl Unpin for CertificateTrustDialogOptions
impl UnwindSafe for CertificateTrustDialogOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.