pub struct SetNetworkActiveResponse {
pub value: bool,
}Expand description
Response for the SetNetworkActive RPC method
This method returns a primitive value wrapped in a transparent struct.
Fields§
§value: boolWrapped primitive value
Trait Implementations§
Source§impl AsRef<bool> for SetNetworkActiveResponse
impl AsRef<bool> for SetNetworkActiveResponse
Source§impl Clone for SetNetworkActiveResponse
impl Clone for SetNetworkActiveResponse
Source§fn clone(&self) -> SetNetworkActiveResponse
fn clone(&self) -> SetNetworkActiveResponse
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 SetNetworkActiveResponse
impl Debug for SetNetworkActiveResponse
Source§impl Deref for SetNetworkActiveResponse
impl Deref for SetNetworkActiveResponse
Source§impl DerefMut for SetNetworkActiveResponse
impl DerefMut for SetNetworkActiveResponse
Source§impl<'de> Deserialize<'de> for SetNetworkActiveResponse
impl<'de> Deserialize<'de> for SetNetworkActiveResponse
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<SetNetworkActiveResponse> for bool
impl From<SetNetworkActiveResponse> for bool
Source§fn from(wrapper: SetNetworkActiveResponse) -> Self
fn from(wrapper: SetNetworkActiveResponse) -> Self
Converts to this type from the input type.
Source§impl From<bool> for SetNetworkActiveResponse
impl From<bool> for SetNetworkActiveResponse
Source§impl PartialEq for SetNetworkActiveResponse
impl PartialEq for SetNetworkActiveResponse
Source§impl Serialize for SetNetworkActiveResponse
impl Serialize for SetNetworkActiveResponse
impl StructuralPartialEq for SetNetworkActiveResponse
Auto Trait Implementations§
impl Freeze for SetNetworkActiveResponse
impl RefUnwindSafe for SetNetworkActiveResponse
impl Send for SetNetworkActiveResponse
impl Sync for SetNetworkActiveResponse
impl Unpin for SetNetworkActiveResponse
impl UnwindSafe for SetNetworkActiveResponse
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