pub struct Instance {
pub name: String,
pub template: String,
pub version: String,
pub project: String,
pub environment: String,
pub apps: Vec<String>,
pub secrets: Vec<String>,
pub variables: BTreeMap<String, String>,
pub urls: Vec<String>,
pub created_at: u64,
pub created_by: String,
pub stopped: Option<Stopped>,
}Expand description
A deployed instance, kept so it can be listed and removed as one.
Fields§
§name: String§template: Stringcatalog/id.
version: String§project: String§environment: String§apps: Vec<String>§secrets: Vec<String>§variables: BTreeMap<String, String>Non-secret variable values.
urls: Vec<String>§created_at: u64§created_by: String§stopped: Option<Stopped>Set when the deploy stopped early: the app that failed, why, and the apps never started. Cleared when a redeploy finishes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Instance
impl<'de> Deserialize<'de> for Instance
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 Instance
Auto Trait Implementations§
impl Freeze for Instance
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnsafeUnpin for Instance
impl UnwindSafe for Instance
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