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 · 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
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 PartialEq for ImportCertificateOptions
impl PartialEq for ImportCertificateOptions
Source§impl RefFromWasmAbi for ImportCertificateOptions
impl RefFromWasmAbi for ImportCertificateOptions
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 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 VectorIntoJsValue for ImportCertificateOptions
impl VectorIntoJsValue for ImportCertificateOptions
fn vector_into_jsvalue(vector: Box<[ImportCertificateOptions]>) -> JsValue
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
impl Eq for ImportCertificateOptions
impl StructuralPartialEq for ImportCertificateOptions
impl SupportsConstructor for ImportCertificateOptions
impl SupportsInstanceProperty for ImportCertificateOptions
impl SupportsStaticProperty 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 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.