Struct shuttle_common::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<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 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