Enum ExtensionCommandResponse
pub enum ExtensionCommandResponse {
GetProviderScopes(Vec<ExtensionProviderScope>),
GetAccounts(Vec<ExtensionAccountDetail>),
PerformAccountLogin(String),
ExtraExtensionEvent(Box<ExtensionExtraEventResponse>),
Empty,
}
Variants§
GetProviderScopes(Vec<ExtensionProviderScope>)
GetAccounts(Vec<ExtensionAccountDetail>)
PerformAccountLogin(String)
ExtraExtensionEvent(Box<ExtensionExtraEventResponse>)
Empty
Trait Implementations§
§impl Clone for ExtensionCommandResponse
impl Clone for ExtensionCommandResponse
§fn clone(&self) -> ExtensionCommandResponse
fn clone(&self) -> ExtensionCommandResponse
Returns a copy 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 more§impl Debug for ExtensionCommandResponse
impl Debug for ExtensionCommandResponse
§impl<'de> Deserialize<'de> for ExtensionCommandResponse
impl<'de> Deserialize<'de> for ExtensionCommandResponse
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExtensionCommandResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExtensionCommandResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl FromBytesOwned for ExtensionCommandResponsewhere
Json<ExtensionCommandResponse>: FromBytesOwned,
impl FromBytesOwned for ExtensionCommandResponsewhere
Json<ExtensionCommandResponse>: FromBytesOwned,
§fn from_bytes_owned(__data: &[u8]) -> Result<ExtensionCommandResponse, Error>
fn from_bytes_owned(__data: &[u8]) -> Result<ExtensionCommandResponse, Error>
Decode a value from a slice of bytes, the resulting value should not borrow the input
data.
§impl Serialize for ExtensionCommandResponse
impl Serialize for ExtensionCommandResponse
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl<'__to_bytes_a> ToBytes<'__to_bytes_a> for ExtensionCommandResponsewhere
Json<&'__to_bytes_b ExtensionCommandResponse>: for<'__to_bytes_b> ToBytes<'__to_bytes_b>,
impl<'__to_bytes_a> ToBytes<'__to_bytes_a> for ExtensionCommandResponsewhere
Json<&'__to_bytes_b ExtensionCommandResponse>: for<'__to_bytes_b> ToBytes<'__to_bytes_b>,
Auto Trait Implementations§
impl Freeze for ExtensionCommandResponse
impl RefUnwindSafe for ExtensionCommandResponse
impl Send for ExtensionCommandResponse
impl Sync for ExtensionCommandResponse
impl Unpin for ExtensionCommandResponse
impl UnwindSafe for ExtensionCommandResponse
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,
§impl<'a, T> FromBytes<'a> for Twhere
T: FromBytesOwned,
impl<'a, T> FromBytes<'a> for Twhere
T: FromBytesOwned,
§fn from_bytes(data: &'a [u8]) -> Result<T, Error>
fn from_bytes(data: &'a [u8]) -> Result<T, Error>
Decode a value from a slice of bytes