pub struct GenerateSshKeyResult {
pub private_key: String,
pub public_key: String,
pub key_fingerprint: String,
}
Fields§
§private_key: String
§public_key: String
§key_fingerprint: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GenerateSshKeyResult
impl<'de> Deserialize<'de> for GenerateSshKeyResult
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<GenerateSshKeyResult> for JsValuewhere
GenerateSshKeyResult: Serialize,
impl From<GenerateSshKeyResult> for JsValuewhere
GenerateSshKeyResult: Serialize,
Source§fn from(value: GenerateSshKeyResult) -> Self
fn from(value: GenerateSshKeyResult) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for GenerateSshKeyResultwhere
Self: DeserializeOwned,
impl FromWasmAbi for GenerateSshKeyResultwhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for GenerateSshKeyResultwhere
GenerateSshKeyResult: Serialize,
impl IntoWasmAbi for GenerateSshKeyResultwhere
GenerateSshKeyResult: Serialize,
Source§impl OptionFromWasmAbi for GenerateSshKeyResultwhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for GenerateSshKeyResultwhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for GenerateSshKeyResultwhere
GenerateSshKeyResult: Serialize,
impl OptionIntoWasmAbi for GenerateSshKeyResultwhere
GenerateSshKeyResult: Serialize,
Source§impl RefFromWasmAbi for GenerateSshKeyResultwhere
Self: DeserializeOwned,
impl RefFromWasmAbi for GenerateSshKeyResultwhere
Self: DeserializeOwned,
Source§type Abi = <JsType as RefFromWasmAbi>::Abi
type Abi = <JsType as RefFromWasmAbi>::Abi
The Wasm ABI type references to
Self
are recovered from.Source§type Anchor = SelfOwner<GenerateSshKeyResult>
type Anchor = SelfOwner<GenerateSshKeyResult>
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 Serialize for GenerateSshKeyResult
impl Serialize for GenerateSshKeyResult
Source§impl Tsify for GenerateSshKeyResult
impl Tsify for GenerateSshKeyResult
const DECL: &'static str = "export interface GenerateSshKeyResult {\n private_key: string;\n public_key: string;\n key_fingerprint: string;\n}"
const SERIALIZATION_CONFIG: SerializationConfig = _
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
Source§impl VectorFromWasmAbi for GenerateSshKeyResultwhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for GenerateSshKeyResultwhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for GenerateSshKeyResultwhere
GenerateSshKeyResult: Serialize,
impl VectorIntoWasmAbi for GenerateSshKeyResultwhere
GenerateSshKeyResult: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribe for GenerateSshKeyResult
impl WasmDescribe for GenerateSshKeyResult
Auto Trait Implementations§
impl Freeze for GenerateSshKeyResult
impl RefUnwindSafe for GenerateSshKeyResult
impl Send for GenerateSshKeyResult
impl Sync for GenerateSshKeyResult
impl Unpin for GenerateSshKeyResult
impl UnwindSafe for GenerateSshKeyResult
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> 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::Abi
Source§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
.