Struct bee_api_types::responses::ProtocolResponse
source · [−]pub struct ProtocolResponse {
pub version: u8,
pub network_name: String,
pub bech32_hrp: String,
pub min_pow_score: u32,
pub below_max_depth: u8,
pub rent_structure: RentStructureResponse,
pub token_supply: String,
}Expand description
Returned in InfoResponse.
Protocol information about the node.
Fields
version: u8network_name: Stringbech32_hrp: Stringmin_pow_score: u32below_max_depth: u8rent_structure: RentStructureResponsetoken_supply: StringTrait Implementations
sourceimpl Clone for ProtocolResponse
impl Clone for ProtocolResponse
sourcefn clone(&self) -> ProtocolResponse
fn clone(&self) -> ProtocolResponse
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 moresourceimpl Debug for ProtocolResponse
impl Debug for ProtocolResponse
sourceimpl<'de> Deserialize<'de> for ProtocolResponse
impl<'de> Deserialize<'de> for ProtocolResponse
sourcefn 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
sourceimpl PartialEq<ProtocolResponse> for ProtocolResponse
impl PartialEq<ProtocolResponse> for ProtocolResponse
sourcefn eq(&self, other: &ProtocolResponse) -> bool
fn eq(&self, other: &ProtocolResponse) -> bool
sourceimpl Serialize for ProtocolResponse
impl Serialize for ProtocolResponse
sourceimpl TryFrom<ProtocolResponse> for ProtocolParameters
impl TryFrom<ProtocolResponse> for ProtocolParameters
impl Eq for ProtocolResponse
impl StructuralEq for ProtocolResponse
impl StructuralPartialEq for ProtocolResponse
Auto Trait Implementations
impl RefUnwindSafe for ProtocolResponse
impl Send for ProtocolResponse
impl Sync for ProtocolResponse
impl Unpin for ProtocolResponse
impl UnwindSafe for ProtocolResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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