pub struct CertificatePrincipal { /* private fields */ }Implementations§
Source§impl CertificatePrincipal
impl CertificatePrincipal
pub fn new( common_name: JsString, country: JsString, locality: JsString, organization_units: Box<[JsValue]>, organizations: Box<[JsValue]>, state: JsString, ) -> CertificatePrincipal
pub fn common_name(&self) -> JsString
pub fn set_common_name(&mut self, value: JsString)
pub fn country(&self) -> JsString
pub fn set_country(&mut self, value: JsString)
pub fn locality(&self) -> JsString
pub fn set_locality(&mut self, value: JsString)
pub fn organization_units(&self) -> Box<[JsValue]>
pub fn set_organization_units(&mut self, value: Box<[JsValue]>)
pub fn organizations(&self) -> Box<[JsValue]>
pub fn set_organizations(&mut self, value: Box<[JsValue]>)
pub fn state(&self) -> JsString
pub fn set_state(&mut self, value: JsString)
Trait Implementations§
Source§impl Clone for CertificatePrincipal
impl Clone for CertificatePrincipal
Source§fn clone(&self) -> CertificatePrincipal
fn clone(&self) -> CertificatePrincipal
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 CertificatePrincipal
impl Debug for CertificatePrincipal
Source§impl From<CertificatePrincipal> for JsValue
impl From<CertificatePrincipal> for JsValue
Source§fn from(value: CertificatePrincipal) -> Self
fn from(value: CertificatePrincipal) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for CertificatePrincipal
impl FromWasmAbi for CertificatePrincipal
Source§impl IntoWasmAbi for CertificatePrincipal
impl IntoWasmAbi for CertificatePrincipal
Source§impl PartialEq for CertificatePrincipal
impl PartialEq for CertificatePrincipal
Source§impl RefFromWasmAbi for CertificatePrincipal
impl RefFromWasmAbi for CertificatePrincipal
Source§type Anchor = RcRef<CertificatePrincipal>
type Anchor = RcRef<CertificatePrincipal>
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 CertificatePrincipal
impl VectorFromWasmAbi for CertificatePrincipal
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[CertificatePrincipal]>
Source§impl VectorIntoJsValue for CertificatePrincipal
impl VectorIntoJsValue for CertificatePrincipal
fn vector_into_jsvalue(vector: Box<[CertificatePrincipal]>) -> JsValue
Source§impl VectorIntoWasmAbi for CertificatePrincipal
impl VectorIntoWasmAbi for CertificatePrincipal
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[CertificatePrincipal]>) -> Self::Abi
Source§impl WasmDescribeVector for CertificatePrincipal
impl WasmDescribeVector for CertificatePrincipal
impl StructuralPartialEq for CertificatePrincipal
impl SupportsConstructor for CertificatePrincipal
impl SupportsInstanceProperty for CertificatePrincipal
impl SupportsStaticProperty for CertificatePrincipal
Auto Trait Implementations§
impl Freeze for CertificatePrincipal
impl RefUnwindSafe for CertificatePrincipal
impl !Send for CertificatePrincipal
impl !Sync for CertificatePrincipal
impl Unpin for CertificatePrincipal
impl UnwindSafe for CertificatePrincipal
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.