pub struct ApplicationConfig {
pub name: String,
pub description: String,
pub app_config: BTreeMap<String, ApplicationConfigContents>,
pub labels: BTreeMap<String, String>,
pub ports: BTreeSet<String>,
pub zone: Option<VersionedZoneId>,
}
Expand description
Fields§
§name: String
§description: String
§app_config: BTreeMap<String, ApplicationConfigContents>
§labels: BTreeMap<String, String>
§ports: BTreeSet<String>
§zone: Option<VersionedZoneId>
Implementations§
Source§impl ApplicationConfig
impl ApplicationConfig
pub fn new( name: String, description: String, app_config: SortedHashMap<String, ApplicationConfigContents>, labels: SortedHashMap<String, String>, ports: SortedVec<String>, ) -> ApplicationConfig
Trait Implementations§
Source§impl Clone for ApplicationConfig
impl Clone for ApplicationConfig
Source§fn clone(&self) -> ApplicationConfig
fn clone(&self) -> ApplicationConfig
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 ApplicationConfig
impl Debug for ApplicationConfig
Source§impl<'de> Deserialize<'de> for ApplicationConfig
impl<'de> Deserialize<'de> for ApplicationConfig
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 ApplicationConfig
impl PartialEq for ApplicationConfig
Source§impl Serialize for ApplicationConfig
impl Serialize for ApplicationConfig
impl StructuralPartialEq for ApplicationConfig
Auto Trait Implementations§
impl Freeze for ApplicationConfig
impl RefUnwindSafe for ApplicationConfig
impl Send for ApplicationConfig
impl Sync for ApplicationConfig
impl Unpin for ApplicationConfig
impl UnwindSafe for ApplicationConfig
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