Struct ya_runtime_api::deploy::DeployResult
source · pub struct DeployResult {
pub valid: Result<String, String>,
pub vols: Vec<ContainerVolume>,
pub start_mode: StartMode,
}
Fields§
§valid: Result<String, String>
§vols: Vec<ContainerVolume>
§start_mode: StartMode
Implementations§
source§impl DeployResult
impl DeployResult
pub fn from_bytes(bytes: impl AsRef<[u8]>) -> Result<DeployResult>
Trait Implementations§
source§impl Debug for DeployResult
impl Debug for DeployResult
source§impl<'de> Deserialize<'de> for DeployResult
impl<'de> Deserialize<'de> for DeployResult
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 RefUnwindSafe for DeployResult
impl Send for DeployResult
impl Sync for DeployResult
impl Unpin for DeployResult
impl UnwindSafe for DeployResult
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