Struct psl::get_config::SourceConfig
source · pub struct SourceConfig {
pub name: String,
pub provider: String,
pub active_provider: String,
pub url: StringFromEnvVar,
pub direct_url: Option<StringFromEnvVar>,
pub schemas: Vec<String>,
pub documentation: Option<String>,
}
Fields§
§name: String
§provider: String
§active_provider: String
§url: StringFromEnvVar
§direct_url: Option<StringFromEnvVar>
§schemas: Vec<String>
§documentation: Option<String>
Trait Implementations§
source§impl Debug for SourceConfig
impl Debug for SourceConfig
source§impl Serialize for SourceConfig
impl Serialize for SourceConfig
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SourceConfig
impl Send for SourceConfig
impl Sync for SourceConfig
impl Unpin for SourceConfig
impl UnwindSafe for SourceConfig
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