pub struct getNodeByAddressReturn {
pub _0: <NodeInfo as SolType>::RustType,
}Expand description
The operator’s raw registration record. active here is
_nodes[operator].active alone — the flag deregisterNode
gates on — NOT the composite isActive, which additionally
requires bond over minBond and no unbonding request. An
operator mid-unbonding is isActive == false yet still
deregisterable, so decdn node deregister reads this (#1359).
Zero-valued for a never-registered address.
Container type for the return parameters of the getNodeByAddress(address) function.
Fields§
§_0: <NodeInfo as SolType>::RustTypeTrait Implementations§
Auto Trait Implementations§
impl !Freeze for getNodeByAddressReturn
impl RefUnwindSafe for getNodeByAddressReturn
impl Send for getNodeByAddressReturn
impl Sync for getNodeByAddressReturn
impl Unpin for getNodeByAddressReturn
impl UnsafeUnpin for getNodeByAddressReturn
impl UnwindSafe for getNodeByAddressReturn
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more