Struct shuttle_service::ContainerRequest
source · pub struct ContainerRequest {
pub project_name: String,
pub container_name: String,
pub image: String,
pub port: String,
pub env: Vec<String>,
}
Expand description
Used to request a container from the local run provisioner
Fields§
§project_name: String
§container_name: String
Type of container, used in the container name. ex “qdrant”
image: String
ex. “qdrant/qdrant:latest”
port: String
The internal port that the container should expose. ex. “6334/tcp”
env: Vec<String>
list of “KEY=value” strings
Trait Implementations§
source§impl<'de> Deserialize<'de> for ContainerRequest
impl<'de> Deserialize<'de> for ContainerRequest
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContainerRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContainerRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for ContainerRequest
impl Serialize for ContainerRequest
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ContainerRequest
impl RefUnwindSafe for ContainerRequest
impl Send for ContainerRequest
impl Sync for ContainerRequest
impl Unpin for ContainerRequest
impl UnwindSafe for ContainerRequest
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