pub struct DeploymentResponse {
pub id: String,
pub state: DeploymentState,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub uris: Vec<String>,
pub build_id: Option<String>,
pub build_meta: Option<BuildMeta>,
}
Fields§
§id: String
§state: DeploymentState
§created_at: DateTime<Utc>
§updated_at: DateTime<Utc>
§uris: Vec<String>
URIs where this deployment can currently be reached (only relevant for Running state)
build_id: Option<String>
§build_meta: Option<BuildMeta>
Implementations§
Source§impl DeploymentResponse
impl DeploymentResponse
pub fn to_string_summary_colored(&self) -> String
pub fn to_string_colored(&self) -> String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DeploymentResponse
impl<'de> Deserialize<'de> for DeploymentResponse
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 DeploymentResponse
impl RefUnwindSafe for DeploymentResponse
impl Send for DeploymentResponse
impl Sync for DeploymentResponse
impl Unpin for DeploymentResponse
impl UnwindSafe for DeploymentResponse
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