pub struct NetConnectEntity {
pub addr: String,
}Fields§
§addr: StringEndpoint address string (for example 127.0.0.1:8080).
Trait Implementations§
Source§impl EntityBodySlot for NetConnectEntity
impl EntityBodySlot for NetConnectEntity
const KIND_NAME: &'static str = "NetConnect"
type Value = NetConnectEntity
fn project(body: &EntityBody) -> Option<&Self::Value>
fn project_mut(body: &mut EntityBody) -> Option<&mut Self::Value>
Source§impl<'ʄ> Facet<'ʄ> for NetConnectEntity
impl<'ʄ> Facet<'ʄ> for NetConnectEntity
Source§impl From<NetConnectEntity> for EntityBody
impl From<NetConnectEntity> for EntityBody
Source§fn from(value: NetConnectEntity) -> Self
fn from(value: NetConnectEntity) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NetConnectEntity
impl RefUnwindSafe for NetConnectEntity
impl Send for NetConnectEntity
impl Sync for NetConnectEntity
impl Unpin for NetConnectEntity
impl UnsafeUnpin for NetConnectEntity
impl UnwindSafe for NetConnectEntity
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