pub struct ServiceEndpoint {
pub name: Option<String>,
pub port: Option<i32>,
}Expand description
The service endpoint that may be started in a VM.
This type is not used in any activity, and only used as part of another schema.
Fields§
§name: Option<String>The name of the service endpoint.
port: Option<i32>The port of the service endpoint.
Trait Implementations§
Source§impl Clone for ServiceEndpoint
impl Clone for ServiceEndpoint
Source§fn clone(&self) -> ServiceEndpoint
fn clone(&self) -> ServiceEndpoint
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 ServiceEndpoint
impl Debug for ServiceEndpoint
Source§impl Default for ServiceEndpoint
impl Default for ServiceEndpoint
Source§fn default() -> ServiceEndpoint
fn default() -> ServiceEndpoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceEndpoint
impl<'de> Deserialize<'de> for ServiceEndpoint
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
Source§impl Serialize for ServiceEndpoint
impl Serialize for ServiceEndpoint
impl Part for ServiceEndpoint
Auto Trait Implementations§
impl Freeze for ServiceEndpoint
impl RefUnwindSafe for ServiceEndpoint
impl Send for ServiceEndpoint
impl Sync for ServiceEndpoint
impl Unpin for ServiceEndpoint
impl UnwindSafe for ServiceEndpoint
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