pub struct TargetRegion {
pub region: KeyspaceRegion,
pub confidence: f64,
pub reason: String,
}Expand description
Suggested target region for identity regeneration.
When a node is rejected, the network may suggest alternative regions where the node would be more likely to be accepted.
Fields§
§region: KeyspaceRegionThe suggested keyspace region.
confidence: f64How strongly this region is recommended (0.0 to 1.0). Higher values indicate better fit.
reason: StringHuman-readable reason for this suggestion.
Implementations§
Source§impl TargetRegion
impl TargetRegion
Trait Implementations§
Source§impl Clone for TargetRegion
impl Clone for TargetRegion
Source§fn clone(&self) -> TargetRegion
fn clone(&self) -> TargetRegion
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 TargetRegion
impl Debug for TargetRegion
Source§impl<'de> Deserialize<'de> for TargetRegion
impl<'de> Deserialize<'de> for TargetRegion
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
Auto Trait Implementations§
impl Freeze for TargetRegion
impl RefUnwindSafe for TargetRegion
impl Send for TargetRegion
impl Sync for TargetRegion
impl Unpin for TargetRegion
impl UnwindSafe for TargetRegion
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