pub struct IndexableExternalPluginSchemaV1 {
pub index: u64,
pub offset: u64,
pub authority: PluginAuthority,
pub lifecycle_checks: Option<LifecycleChecks>,
pub unknown_lifecycle_checks: Option<Vec<(u8, Vec<IndexableCheckResult>)>>,
pub type: ExternalPluginAdapterType,
pub adapter_config: ExternalPluginAdapter,
pub data_offset: Option<u64>,
pub data_len: Option<u64>,
pub data: Option<String>,
}
Expand description
Schema used for indexing known external plugin types.
Fields§
§index: u64
§offset: u64
§lifecycle_checks: Option<LifecycleChecks>
§unknown_lifecycle_checks: Option<Vec<(u8, Vec<IndexableCheckResult>)>>
§type: ExternalPluginAdapterType
§adapter_config: ExternalPluginAdapter
§data_offset: Option<u64>
§data_len: Option<u64>
§data: Option<String>
Trait Implementations§
Source§impl Clone for IndexableExternalPluginSchemaV1
impl Clone for IndexableExternalPluginSchemaV1
Source§fn clone(&self) -> IndexableExternalPluginSchemaV1
fn clone(&self) -> IndexableExternalPluginSchemaV1
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for IndexableExternalPluginSchemaV1
impl PartialEq for IndexableExternalPluginSchemaV1
Source§fn eq(&self, other: &IndexableExternalPluginSchemaV1) -> bool
fn eq(&self, other: &IndexableExternalPluginSchemaV1) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for IndexableExternalPluginSchemaV1
impl StructuralPartialEq for IndexableExternalPluginSchemaV1
Auto Trait Implementations§
impl Freeze for IndexableExternalPluginSchemaV1
impl RefUnwindSafe for IndexableExternalPluginSchemaV1
impl Send for IndexableExternalPluginSchemaV1
impl Sync for IndexableExternalPluginSchemaV1
impl Unpin for IndexableExternalPluginSchemaV1
impl UnwindSafe for IndexableExternalPluginSchemaV1
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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