pub struct NetworkService {
pub id: String,
pub network_id: String,
pub name: String,
pub address: String,
pub sandbox_kind: String,
pub sandbox_ref: String,
pub port: u16,
pub protocol: String,
pub status: String,
pub connection_url: Option<String>,
pub last_seen_at: Option<String>,
pub transport: Option<String>,
}Expand description
A private service route registered in a network — a name:port address
other members can reach. When connection_url is set the service has a live
iroh proxy route; otherwise it’s agent_proxy_pending until someone runs
heyvm network expose-service.
Fields§
§id: String§network_id: String§name: StringService name (the name in name:port).
address: StringConvenience name:port form.
sandbox_kind: String§sandbox_ref: String§port: u16§protocol: String§status: String§connection_url: Option<String>heyo:// ticket when a live route exists; None while pending.
last_seen_at: Option<String>§transport: Option<String>"iroh_tcp_proxy" when routable, "agent_proxy_pending" otherwise.
Trait Implementations§
Source§impl Clone for NetworkService
impl Clone for NetworkService
Source§fn clone(&self) -> NetworkService
fn clone(&self) -> NetworkService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NetworkService
impl Debug for NetworkService
Source§impl<'de> Deserialize<'de> for NetworkService
impl<'de> Deserialize<'de> for NetworkService
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 NetworkService
impl RefUnwindSafe for NetworkService
impl Send for NetworkService
impl Sync for NetworkService
impl Unpin for NetworkService
impl UnsafeUnpin for NetworkService
impl UnwindSafe for NetworkService
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