pub struct CreateComposeDeploymentDescription {
pub deployment_name: String,
pub compose_file_content: String,
pub registry_credential: Option<Box<RegistryCredential>>,
}Expand description
CreateComposeDeploymentDescription : Defines description for creating a Service Fabric compose deployment.
Fields§
§deployment_name: StringThe name of the deployment.
compose_file_content: StringThe content of the compose file that describes the deployment to create.
registry_credential: Option<Box<RegistryCredential>>Implementations§
Source§impl CreateComposeDeploymentDescription
impl CreateComposeDeploymentDescription
Sourcepub fn new(
deployment_name: String,
compose_file_content: String,
) -> CreateComposeDeploymentDescription
pub fn new( deployment_name: String, compose_file_content: String, ) -> CreateComposeDeploymentDescription
Defines description for creating a Service Fabric compose deployment.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CreateComposeDeploymentDescription
impl<'de> Deserialize<'de> for CreateComposeDeploymentDescription
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 CreateComposeDeploymentDescription
Auto Trait Implementations§
impl Freeze for CreateComposeDeploymentDescription
impl RefUnwindSafe for CreateComposeDeploymentDescription
impl Send for CreateComposeDeploymentDescription
impl Sync for CreateComposeDeploymentDescription
impl Unpin for CreateComposeDeploymentDescription
impl UnsafeUnpin for CreateComposeDeploymentDescription
impl UnwindSafe for CreateComposeDeploymentDescription
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