pub struct ProvidedSurfaces {Show 15 fields
pub scalar_fns: Vec<SmolStr>,
pub aggregate_fns: Vec<SmolStr>,
pub window_fns: Vec<SmolStr>,
pub procedures: Vec<SmolStr>,
pub locy_aggregates: Vec<SmolStr>,
pub locy_predicates: Vec<SmolStr>,
pub algorithms: Vec<SmolStr>,
pub storage_backends: Vec<SmolStr>,
pub index_kinds: Vec<SmolStr>,
pub crdt_kinds: Vec<SmolStr>,
pub logical_types: Vec<SmolStr>,
pub hooks: bool,
pub triggers: bool,
pub background_jobs: bool,
pub connectors: Vec<SmolStr>,
}Expand description
Declarative summary of what surfaces a plugin’s register() will add.
Built by the plugin author and serialized into the manifest. The host can use this to validate registrations against the manifest and to build a fast pre-registration routing table.
Fields§
§scalar_fns: Vec<SmolStr>Scalar function locals (un-namespaced, joined with manifest id at registration).
aggregate_fns: Vec<SmolStr>Aggregate function locals.
window_fns: Vec<SmolStr>Window function locals.
procedures: Vec<SmolStr>Procedure locals.
locy_aggregates: Vec<SmolStr>Locy aggregate locals.
locy_predicates: Vec<SmolStr>Locy predicate locals.
algorithms: Vec<SmolStr>Algorithm locals.
storage_backends: Vec<SmolStr>Storage backends declared (by URI scheme).
index_kinds: Vec<SmolStr>Index kinds declared.
crdt_kinds: Vec<SmolStr>CRDT kinds declared.
logical_types: Vec<SmolStr>Logical (Arrow extension) types declared.
hooks: boolWhether the plugin contributes phased hooks.
triggers: boolWhether the plugin contributes triggers.
background_jobs: boolWhether the plugin contributes background jobs.
connectors: Vec<SmolStr>Wire-protocol connectors declared.
Trait Implementations§
Source§impl Clone for ProvidedSurfaces
impl Clone for ProvidedSurfaces
Source§fn clone(&self) -> ProvidedSurfaces
fn clone(&self) -> ProvidedSurfaces
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProvidedSurfaces
impl Debug for ProvidedSurfaces
Source§impl Default for ProvidedSurfaces
impl Default for ProvidedSurfaces
Source§fn default() -> ProvidedSurfaces
fn default() -> ProvidedSurfaces
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProvidedSurfaceswhere
ProvidedSurfaces: Default,
impl<'de> Deserialize<'de> for ProvidedSurfaceswhere
ProvidedSurfaces: Default,
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
impl Eq for ProvidedSurfaces
Source§impl PartialEq for ProvidedSurfaces
impl PartialEq for ProvidedSurfaces
Source§fn eq(&self, other: &ProvidedSurfaces) -> bool
fn eq(&self, other: &ProvidedSurfaces) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProvidedSurfaces
impl Serialize for ProvidedSurfaces
impl StructuralPartialEq for ProvidedSurfaces
Auto Trait Implementations§
impl Freeze for ProvidedSurfaces
impl RefUnwindSafe for ProvidedSurfaces
impl Send for ProvidedSurfaces
impl Sync for ProvidedSurfaces
impl Unpin for ProvidedSurfaces
impl UnsafeUnpin for ProvidedSurfaces
impl UnwindSafe for ProvidedSurfaces
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more