pub struct InstanceSpec {
pub id: String,
pub of: String,
pub host: Option<String>,
}Expand description
One running instance of a component in a deployment view.
Fields§
§id: StringA stable id of the instance, unique among the instances and hosts of the view.
of: StringThe id of the component of the model it runs.
host: Option<String>The id of the host it runs on.
Trait Implementations§
Source§impl Clone for InstanceSpec
impl Clone for InstanceSpec
Source§impl Debug for InstanceSpec
impl Debug for InstanceSpec
Source§impl<'de> Deserialize<'de> for InstanceSpec
impl<'de> Deserialize<'de> for InstanceSpec
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 InstanceSpec
impl RefUnwindSafe for InstanceSpec
impl Send for InstanceSpec
impl Sync for InstanceSpec
impl Unpin for InstanceSpec
impl UnsafeUnpin for InstanceSpec
impl UnwindSafe for InstanceSpec
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