pub struct ProjectResponse {
pub id: String,
pub user_id: String,
pub name: String,
pub created_at: DateTime<Utc>,
pub compute_tier: Option<ComputeTier>,
pub deployment_state: Option<DeploymentState>,
pub uris: Vec<String>,
}
Fields§
§id: String
§user_id: String
Project owner
name: String
§created_at: DateTime<Utc>
§compute_tier: Option<ComputeTier>
§deployment_state: Option<DeploymentState>
State of the current deployment if one exists (something has been deployed).
uris: Vec<String>
URIs where running deployments can be reached
Implementations§
Source§impl ProjectResponse
impl ProjectResponse
pub fn to_string_colored(&self) -> String
Trait Implementations§
Source§impl Clone for ProjectResponse
impl Clone for ProjectResponse
Source§fn clone(&self) -> ProjectResponse
fn clone(&self) -> ProjectResponse
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProjectResponse
impl Debug for ProjectResponse
Source§impl<'de> Deserialize<'de> for ProjectResponse
impl<'de> Deserialize<'de> for ProjectResponse
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
Source§impl PartialEq for ProjectResponse
impl PartialEq for ProjectResponse
Source§impl Serialize for ProjectResponse
impl Serialize for ProjectResponse
impl StructuralPartialEq for ProjectResponse
Auto Trait Implementations§
impl Freeze for ProjectResponse
impl RefUnwindSafe for ProjectResponse
impl Send for ProjectResponse
impl Sync for ProjectResponse
impl Unpin for ProjectResponse
impl UnwindSafe for ProjectResponse
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