#[non_exhaustive]pub struct RecordFieldInput {
pub value: Option<Option<RecordFieldInputValue>>,
pub state: Option<RecordFieldInputState>,
pub evidence_id: Option<Option<String>>,
}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.value: Option<Option<RecordFieldInputValue>>§state: Option<RecordFieldInputState>§evidence_id: Option<Option<String>>Implementations§
Source§impl RecordFieldInput
impl RecordFieldInput
pub fn new() -> Self
pub fn value(self, value: RecordFieldInputValue) -> Self
pub fn value_null(self) -> Self
pub fn state(self, state: RecordFieldInputState) -> Self
pub fn evidence_id(self, evidence_id: impl Into<String>) -> Self
pub fn evidence_id_null(self) -> Self
Trait Implementations§
Source§impl Clone for RecordFieldInput
impl Clone for RecordFieldInput
Source§impl Debug for RecordFieldInput
impl Debug for RecordFieldInput
Source§impl Default for RecordFieldInput
impl Default for RecordFieldInput
Source§impl<'de> Deserialize<'de> for RecordFieldInput
impl<'de> Deserialize<'de> for RecordFieldInput
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 RecordFieldInput
impl PartialEq for RecordFieldInput
Source§impl Serialize for RecordFieldInput
impl Serialize for RecordFieldInput
impl StructuralPartialEq for RecordFieldInput
Auto Trait Implementations§
impl Forget for RecordFieldInput
impl Freeze for RecordFieldInput
impl Move for RecordFieldInput
impl RefUnwindSafe for RecordFieldInput
impl Send for RecordFieldInput
impl Sync for RecordFieldInput
impl Unpin for RecordFieldInput
impl UnsafeUnpin for RecordFieldInput
impl UnwindSafe for RecordFieldInput
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