pub struct Field<V: Value + ?Sized, T = RuntimeEntry<()>> { /* private fields */ }
Expand description
§Table field descriptor
This struct wraps an opaque pointer from the Falco plugin API, representing a particular field of a table, while also remembering which data type the field holds.
You probably won’t need to construct any values of this type, but you will receive
them from crate::tables::import::Table::get_field
and use the type to define fields in the metadata struct (see module docs).
Trait Implementations§
Auto Trait Implementations§
impl<V, T> Freeze for Field<V, T>
impl<V, T> RefUnwindSafe for Field<V, T>
impl<V, T = Entry<NoMetadata<()>>> !Send for Field<V, T>
impl<V, T = Entry<NoMetadata<()>>> !Sync for Field<V, T>
impl<V, T> Unpin for Field<V, T>
impl<V, T> UnwindSafe for Field<V, T>
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