pub enum RecordSource {
Command {
command: String,
args: Value,
pointer: String,
},
Hook {
hook: String,
},
}Expand description
Where a list’s or table’s records come from.
Variants§
Command
A read_only command whose answer, at the JSON pointer, is an
array of objects ("": the whole answer).
Hook
A records hook registered in Rust.
Trait Implementations§
Source§impl Clone for RecordSource
impl Clone for RecordSource
Source§fn clone(&self) -> RecordSource
fn clone(&self) -> RecordSource
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 Debug for RecordSource
impl Debug for RecordSource
Source§impl<'de> Deserialize<'de> for RecordSource
impl<'de> Deserialize<'de> for RecordSource
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 RecordSource
impl PartialEq for RecordSource
Source§impl Serialize for RecordSource
impl Serialize for RecordSource
impl StructuralPartialEq for RecordSource
Auto Trait Implementations§
impl Freeze for RecordSource
impl RefUnwindSafe for RecordSource
impl Send for RecordSource
impl Sync for RecordSource
impl Unpin for RecordSource
impl UnsafeUnpin for RecordSource
impl UnwindSafe for RecordSource
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