pub struct MorphNode {
pub id: usize,
pub position: (f64, f64, f64),
pub node_type: NodeType,
pub name: String,
pub latency_base_ms: f64,
pub capacity: f64,
pub energy: f64,
pub depth: u32,
pub metadata: HashMap<String, String>,
}Expand description
Csomópont a kinőtt struktúrában
Fields§
§id: usize§position: (f64, f64, f64)§node_type: NodeType§name: String§latency_base_ms: f64§capacity: f64§energy: f64§depth: u32§metadata: HashMap<String, String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for MorphNode
impl RefUnwindSafe for MorphNode
impl Send for MorphNode
impl Sync for MorphNode
impl Unpin for MorphNode
impl UnsafeUnpin for MorphNode
impl UnwindSafe for MorphNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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