pub struct ImportCertificateOptions { /* private fields */ }Implementations§
Source§impl ImportCertificateOptions
impl ImportCertificateOptions
pub fn new( certificate: JsString, password: JsString, ) -> ImportCertificateOptions
pub fn certificate(&self) -> JsString
pub fn set_certificate(&mut self, certificate: JsString)
pub fn password(&self) -> JsString
pub fn set_password(&mut self, password: JsString)
Trait Implementations§
Source§impl Clone for ImportCertificateOptions
impl Clone for ImportCertificateOptions
Source§fn clone(&self) -> ImportCertificateOptions
fn clone(&self) -> ImportCertificateOptions
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 Debug for ImportCertificateOptions
impl Debug for ImportCertificateOptions
impl Eq for ImportCertificateOptions
Source§impl From<ImportCertificateOptions> for JsValue
impl From<ImportCertificateOptions> for JsValue
Source§fn from(value: ImportCertificateOptions) -> Self
fn from(value: ImportCertificateOptions) -> Self
Converts to this type from the input type.
Source§impl LongRefFromWasmAbi for ImportCertificateOptions
impl LongRefFromWasmAbi for ImportCertificateOptions
Source§type Abi = WasmPtr<WasmRefCell<ImportCertificateOptions>>
type Abi = WasmPtr<WasmRefCell<ImportCertificateOptions>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRef<ImportCertificateOptions>
type Anchor = RcRef<ImportCertificateOptions>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiSource§impl PartialEq for ImportCertificateOptions
impl PartialEq for ImportCertificateOptions
Source§fn eq(&self, other: &ImportCertificateOptions) -> bool
fn eq(&self, other: &ImportCertificateOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefFromWasmAbi for ImportCertificateOptions
impl RefFromWasmAbi for ImportCertificateOptions
Source§type Abi = WasmPtr<WasmRefCell<ImportCertificateOptions>>
type Abi = WasmPtr<WasmRefCell<ImportCertificateOptions>>
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = RcRef<ImportCertificateOptions>
type Anchor = RcRef<ImportCertificateOptions>
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 RefMutFromWasmAbi for ImportCertificateOptions
impl RefMutFromWasmAbi for ImportCertificateOptions
Source§type Abi = WasmPtr<WasmRefCell<ImportCertificateOptions>>
type Abi = WasmPtr<WasmRefCell<ImportCertificateOptions>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRefMut<ImportCertificateOptions>
type Anchor = RcRefMut<ImportCertificateOptions>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiimpl StructuralPartialEq for ImportCertificateOptions
impl SupportsConstructor for ImportCertificateOptions
impl SupportsInstanceProperty for ImportCertificateOptions
impl SupportsStaticProperty for ImportCertificateOptions
Source§impl VectorFromWasmAbi for ImportCertificateOptions
impl VectorFromWasmAbi for ImportCertificateOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[ImportCertificateOptions]>
Source§impl VectorIntoWasmAbi for ImportCertificateOptions
impl VectorIntoWasmAbi for ImportCertificateOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[ImportCertificateOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for ImportCertificateOptions
impl WasmDescribeVector for ImportCertificateOptions
Auto Trait Implementations§
impl Freeze for ImportCertificateOptions
impl RefUnwindSafe for ImportCertificateOptions
impl Send for ImportCertificateOptions
impl Sync for ImportCertificateOptions
impl Unpin for ImportCertificateOptions
impl UnsafeUnpin for ImportCertificateOptions
impl UnwindSafe for ImportCertificateOptions
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.