pub struct NormalizedProject {Show 13 fields
pub created_at: String,
pub current_revision: Box<NormalizedProjectRevision>,
pub environment: EnvironmentEnum,
pub home_region: HomeRegionEnum,
pub hosts: Vec<String>,
pub id: String,
pub slug: String,
pub state: StateEnum,
pub subscription_id: Option<Option<String>>,
pub subscription_plan: Option<Option<String>>,
pub updated_at: String,
pub workspace: Option<Box<Workspace>>,
pub workspace_id: Option<String>,
}Fields§
§created_at: StringThe Project’s Creation Date
current_revision: Box<NormalizedProjectRevision>§environment: EnvironmentEnumThe environment of the project. prod Production stage Staging dev Development
home_region: HomeRegionEnumThe project’s data home region. eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global
hosts: Vec<String>§id: StringThe project’s ID.
slug: StringThe project’s slug
state: StateEnumThe state of the project. running Running halted Halted deleted Deleted
subscription_id: Option<Option<String>>§subscription_plan: Option<Option<String>>§updated_at: StringLast Time Project was Updated
workspace: Option<Box<Workspace>>§workspace_id: Option<String>Implementations§
Source§impl NormalizedProject
impl NormalizedProject
pub fn new( created_at: String, current_revision: NormalizedProjectRevision, environment: EnvironmentEnum, home_region: HomeRegionEnum, hosts: Vec<String>, id: String, slug: String, state: StateEnum, updated_at: String, workspace_id: Option<String>, ) -> NormalizedProject
Trait Implementations§
Source§impl Clone for NormalizedProject
impl Clone for NormalizedProject
Source§fn clone(&self) -> NormalizedProject
fn clone(&self) -> NormalizedProject
Returns a duplicate 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 NormalizedProject
impl Debug for NormalizedProject
Source§impl Default for NormalizedProject
impl Default for NormalizedProject
Source§fn default() -> NormalizedProject
fn default() -> NormalizedProject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NormalizedProject
impl<'de> Deserialize<'de> for NormalizedProject
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 NormalizedProject
impl PartialEq for NormalizedProject
Source§impl Serialize for NormalizedProject
impl Serialize for NormalizedProject
impl StructuralPartialEq for NormalizedProject
Auto Trait Implementations§
impl Freeze for NormalizedProject
impl RefUnwindSafe for NormalizedProject
impl Send for NormalizedProject
impl Sync for NormalizedProject
impl Unpin for NormalizedProject
impl UnwindSafe for NormalizedProject
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