#[non_exhaustive]pub struct Args {
pub remote: Option<String>,
pub data: Option<String>,
pub disable_datetime: Option<bool>,
pub name: Option<String>,
pub tags: Vec<String>,
}
Expand description
Arguments used to create a data source.
TODO: Add more fields so people need to use update
less.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.remote: Option<String>
The URL of the data source.
data: Option<String>
The raw data to use.
disable_datetime: Option<bool>
Set to true if you want to avoid date expansion into year, day of week, etc.
name: Option<String>
The name of this source.
User-defined tags.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
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