Struct near_workspaces::network::Info
source · pub struct Info {
pub name: String,
pub root_id: AccountId,
pub keystore_path: PathBuf,
pub rpc_url: String,
}Fields
name: StringName of the network itself
root_id: AccountIdRoot Account ID of the network. Mainnet has near, testnet has testnet.
keystore_path: PathBufPath to the keystore directory
rpc_url: StringRpc endpoint to point our client to
Auto Trait Implementations
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
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