pub struct SetConfig {
pub profile: Option<Loose<String>>,
pub vars: Option<Loose<Map<String, Value>>>,
pub locale: Option<Loose<String>>,
}Expand description
One Set.
Fields§
§profile: Option<Loose<String>>The connection a Binding with this Set runs on. May use Jinja with var(), env_var(), run.* and target.name.
vars: Option<Loose<Map<String, Value>>>Variables, read in SQL and YAML with var('name'). Values can be strings, numbers, booleans, lists or maps.
locale: Option<Loose<String>>The locale for this Set’s number filters (fr-FR), above the report’s.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SetConfig
impl<'de> Deserialize<'de> for SetConfig
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 JsonSchema for SetConfig
impl JsonSchema for SetConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for SetConfig
impl RefUnwindSafe for SetConfig
impl Send for SetConfig
impl Sync for SetConfig
impl Unpin for SetConfig
impl UnsafeUnpin for SetConfig
impl UnwindSafe for SetConfig
Blanket Implementations§
impl<T> Allocation for T
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