pub struct DevnetManifest {
pub base_port: u16,
pub node_count: usize,
pub bootstrap: Vec<MultiAddr>,
pub data_dir: PathBuf,
pub created_at: String,
pub evm: Option<DevnetEvmInfo>,
}Expand description
Devnet manifest for client discovery.
Written by the devnet launcher (see ant_node::devnet::Devnet) and
read by clients via the --devnet-manifest <path> CLI flag or the
LocalDevnet::write_manifest helper.
Fields§
§base_port: u16Base port for nodes.
node_count: usizeNode count.
bootstrap: Vec<MultiAddr>Bootstrap addresses.
data_dir: PathBufData directory.
created_at: StringCreation time (RFC 3339 or Unix seconds; the launcher picks the format — clients treat this as opaque text).
evm: Option<DevnetEvmInfo>EVM configuration (present when EVM payment enforcement is enabled).
Trait Implementations§
Source§impl Clone for DevnetManifest
impl Clone for DevnetManifest
Source§fn clone(&self) -> DevnetManifest
fn clone(&self) -> DevnetManifest
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 DevnetManifest
impl Debug for DevnetManifest
Source§impl<'de> Deserialize<'de> for DevnetManifest
impl<'de> Deserialize<'de> for DevnetManifest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DevnetManifest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DevnetManifest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DevnetManifest
impl Serialize for DevnetManifest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for DevnetManifest
impl RefUnwindSafe for DevnetManifest
impl Send for DevnetManifest
impl Sync for DevnetManifest
impl Unpin for DevnetManifest
impl UnsafeUnpin for DevnetManifest
impl UnwindSafe for DevnetManifest
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,
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