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