pub enum BlockParamHolder {
Path(Vec<String>),
Value(Value),
}
Variants§
Implementations§
Source§impl BlockParamHolder
impl BlockParamHolder
pub fn value(v: Json) -> BlockParamHolder
pub fn path(r: Vec<String>) -> BlockParamHolder
Trait Implementations§
Source§impl Clone for BlockParamHolder
impl Clone for BlockParamHolder
Source§fn clone(&self) -> BlockParamHolder
fn clone(&self) -> BlockParamHolder
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for BlockParamHolder
impl RefUnwindSafe for BlockParamHolder
impl Send for BlockParamHolder
impl Sync for BlockParamHolder
impl Unpin for BlockParamHolder
impl UnwindSafe for BlockParamHolder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)