pub struct EvalJsonlFileContentSourceContent {
pub item: HashMap<String, Value>,
pub sample: Option<HashMap<String, Value>>,
}
Fields§
§item: HashMap<String, Value>
§sample: Option<HashMap<String, Value>>
Implementations§
Source§impl EvalJsonlFileContentSourceContent
impl EvalJsonlFileContentSourceContent
Sourcepub fn builder() -> EvalJsonlFileContentSourceContentBuilder<((), ())>
pub fn builder() -> EvalJsonlFileContentSourceContentBuilder<((), ())>
Create a builder for building EvalJsonlFileContentSourceContent
.
On the builder, call .item(...)
, .sample(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of EvalJsonlFileContentSourceContent
.
Trait Implementations§
Source§impl Clone for EvalJsonlFileContentSourceContent
impl Clone for EvalJsonlFileContentSourceContent
Source§fn clone(&self) -> EvalJsonlFileContentSourceContent
fn clone(&self) -> EvalJsonlFileContentSourceContent
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<'de> Deserialize<'de> for EvalJsonlFileContentSourceContent
impl<'de> Deserialize<'de> for EvalJsonlFileContentSourceContent
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 EvalJsonlFileContentSourceContent
impl PartialEq for EvalJsonlFileContentSourceContent
Source§fn eq(&self, other: &EvalJsonlFileContentSourceContent) -> bool
fn eq(&self, other: &EvalJsonlFileContentSourceContent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for EvalJsonlFileContentSourceContent
Auto Trait Implementations§
impl Freeze for EvalJsonlFileContentSourceContent
impl RefUnwindSafe for EvalJsonlFileContentSourceContent
impl Send for EvalJsonlFileContentSourceContent
impl Sync for EvalJsonlFileContentSourceContent
impl Unpin for EvalJsonlFileContentSourceContent
impl UnwindSafe for EvalJsonlFileContentSourceContent
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