pub struct DeployReq {
pub app: Option<String>,
pub commit: Option<String>,
pub project: Option<String>,
pub tag: Option<String>,
}Fields§
§app: Option<String>App is the application’s slug, from the path.
commit: Option<String>Commit is the git commit or ref to build, for a git-source app. Defaults to the app’s branch.
project: Option<String>Project is the project the application lives under, from the path.
tag: Option<String>Tag is the image tag to deploy, for an image-source app. Defaults to the app’s tag, then latest.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DeployReq
impl<'de> Deserialize<'de> for DeployReq
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
impl StructuralPartialEq for DeployReq
Auto Trait Implementations§
impl Freeze for DeployReq
impl RefUnwindSafe for DeployReq
impl Send for DeployReq
impl Sync for DeployReq
impl Unpin for DeployReq
impl UnsafeUnpin for DeployReq
impl UnwindSafe for DeployReq
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