Struct mesa::cfs::configuration::mesa::struct::cfs_configuration_request::CfsConfigurationRequest
source · pub struct CfsConfigurationRequest {
pub name: String,
pub layers: Vec<Layer>,
}
Fields§
§name: String
§layers: Vec<Layer>
Implementations§
source§impl CfsConfigurationRequest
impl CfsConfigurationRequest
pub fn new() -> Self
pub fn add_layer(&mut self, layer: Layer)
pub fn from_sat_file_serde_yaml(configuration_yaml: &Value) -> Self
pub async fn create_from_repos( gitea_token: &str, gitea_base_url: &str, shasta_root_cert: &[u8], repos: Vec<PathBuf>, cfs_configuration_name: &String ) -> Self
Trait Implementations§
source§impl Clone for CfsConfigurationRequest
impl Clone for CfsConfigurationRequest
source§fn clone(&self) -> CfsConfigurationRequest
fn clone(&self) -> CfsConfigurationRequest
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 CfsConfigurationRequest
impl Debug for CfsConfigurationRequest
source§impl Default for CfsConfigurationRequest
impl Default for CfsConfigurationRequest
source§impl<'de> Deserialize<'de> for CfsConfigurationRequest
impl<'de> Deserialize<'de> for CfsConfigurationRequest
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 RefUnwindSafe for CfsConfigurationRequest
impl Send for CfsConfigurationRequest
impl Sync for CfsConfigurationRequest
impl Unpin for CfsConfigurationRequest
impl UnwindSafe for CfsConfigurationRequest
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
§impl<T> CloneAny for T
impl<T> CloneAny for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.