Struct lnp_rpc::OptionDetails
source · [−]Tuple Fields
0: Option<String>
Implementations
Trait Implementations
sourceimpl AsMut<<OptionDetails as Wrapper>::Inner> for OptionDetails
impl AsMut<<OptionDetails as Wrapper>::Inner> for OptionDetails
sourceimpl AsRef<<OptionDetails as Wrapper>::Inner> for OptionDetails
impl AsRef<<OptionDetails as Wrapper>::Inner> for OptionDetails
sourceimpl Borrow<<OptionDetails as Wrapper>::Inner> for OptionDetails
impl Borrow<<OptionDetails as Wrapper>::Inner> for OptionDetails
sourceimpl BorrowMut<<OptionDetails as Wrapper>::Inner> for OptionDetails
impl BorrowMut<<OptionDetails as Wrapper>::Inner> for OptionDetails
sourcefn borrow_mut(&mut self) -> &mut <Self as Wrapper>::Inner
fn borrow_mut(&mut self) -> &mut <Self as Wrapper>::Inner
Mutably borrows from an owned value. Read more
sourceimpl Clone for OptionDetails
impl Clone for OptionDetails
sourcefn clone(&self) -> OptionDetails
fn clone(&self) -> OptionDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OptionDetails
impl Debug for OptionDetails
sourceimpl Default for OptionDetails
impl Default for OptionDetails
sourcefn default() -> OptionDetails
fn default() -> OptionDetails
Returns the “default value” for a type. Read more
sourceimpl Deref for OptionDetails
impl Deref for OptionDetails
sourceimpl DerefMut for OptionDetails
impl DerefMut for OptionDetails
sourceimpl Display for OptionDetails
impl Display for OptionDetails
sourceimpl From<&'_ str> for OptionDetails
impl From<&'_ str> for OptionDetails
sourceimpl From<Option<String>> for OptionDetails
impl From<Option<String>> for OptionDetails
sourceimpl From<OptionDetails> for Option<String>
impl From<OptionDetails> for Option<String>
sourcefn from(wrapped: OptionDetails) -> Self
fn from(wrapped: OptionDetails) -> Self
Converts to this type from the input type.
sourceimpl From<String> for OptionDetails
impl From<String> for OptionDetails
sourceimpl Hash for OptionDetails
impl Hash for OptionDetails
sourceimpl Ord for OptionDetails
impl Ord for OptionDetails
sourceimpl PartialEq<OptionDetails> for OptionDetails
impl PartialEq<OptionDetails> for OptionDetails
sourcefn eq(&self, other: &OptionDetails) -> bool
fn eq(&self, other: &OptionDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OptionDetails) -> bool
fn ne(&self, other: &OptionDetails) -> bool
This method tests for !=
.
sourceimpl PartialOrd<OptionDetails> for OptionDetails
impl PartialOrd<OptionDetails> for OptionDetails
sourcefn partial_cmp(&self, other: &OptionDetails) -> Option<Ordering>
fn partial_cmp(&self, other: &OptionDetails) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl StrictDecode for OptionDetails
impl StrictDecode for OptionDetails
sourcefn strict_decode<D: Read>(d: D) -> Result<Self, Error>
fn strict_decode<D: Read>(d: D) -> Result<Self, Error>
Decode with the given std::io::Read
instance; must either
construct an instance or return implementation-specific error type. Read more
sourcefn strict_deserialize(data: impl AsRef<[u8]>) -> Result<Self, Error>
fn strict_deserialize(data: impl AsRef<[u8]>) -> Result<Self, Error>
Tries to deserialize byte array into the current type using
StrictDecode::strict_decode
Read more
sourceimpl StrictEncode for OptionDetails
impl StrictEncode for OptionDetails
sourcefn strict_encode<E: Write>(&self, e: E) -> Result<usize, Error>
fn strict_encode<E: Write>(&self, e: E) -> Result<usize, Error>
Encode with the given std::io::Write
instance; must return result
with either amount of bytes encoded – or implementation-specific
error type. Read more
sourcefn strict_serialize(&self) -> Result<Vec<u8, Global>, Error>
fn strict_serialize(&self) -> Result<Vec<u8, Global>, Error>
Serializes data as a byte array using StrictEncode::strict_encode
function Read more
sourceimpl Wrapper for OptionDetails
impl Wrapper for OptionDetails
sourcefn from_inner(inner: Self::Inner) -> Self
fn from_inner(inner: Self::Inner) -> Self
Instantiates wrapper type with the inner data
sourcefn as_inner(&self) -> &Self::Inner
fn as_inner(&self) -> &Self::Inner
Returns reference to the inner representation for the wrapper type
sourcefn as_inner_mut(&mut self) -> &mut Self::Inner
fn as_inner_mut(&mut self) -> &mut Self::Inner
Returns a mutable reference to the inner representation for the wrapper type Read more
sourcefn into_inner(self) -> Self::Inner
fn into_inner(self) -> Self::Inner
Unwraps the wrapper returning the inner type
impl Eq for OptionDetails
impl StructuralEq for OptionDetails
impl StructuralPartialEq for OptionDetails
Auto Trait Implementations
impl RefUnwindSafe for OptionDetails
impl Send for OptionDetails
impl Sync for OptionDetails
impl Unpin for OptionDetails
impl UnwindSafe for OptionDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.