#[non_exhaustive]pub struct BeaconVersion {
pub compound_beacons: Option<Vec<CompoundBeacon>>,
pub encrypted_parts: Option<Vec<EncryptedPart>>,
pub key_source: Option<BeaconKeySource>,
pub key_store: Option<Client>,
pub signed_parts: Option<Vec<SignedPart>>,
pub standard_beacons: Option<Vec<StandardBeacon>>,
pub version: Option<i32>,
pub virtual_fields: Option<Vec<VirtualField>>,
}
Expand description
The configuration for a particular version of searchable encryption. Currently the only supported version is ‘1’.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.compound_beacons: Option<Vec<CompoundBeacon>>
The Compound Beacons to be written with items.
encrypted_parts: Option<Vec<EncryptedPart>>
The list of Encrypted Parts that may be included in any compound beacon.
key_source: Option<BeaconKeySource>
The configuration for what beacon key(s) to use.
key_store: Option<Client>
The Key Store that contains the Beacon Keys to use with searchable encryption.
signed_parts: Option<Vec<SignedPart>>
The list of Signed Parts that may be included in any compound beacon.
standard_beacons: Option<Vec<StandardBeacon>>
The Standard Beacons to be written with items.
version: Option<i32>
The version of searchable encryption configured. This must be ‘1’.
virtual_fields: Option<Vec<VirtualField>>
The Virtual Fields to be calculated, supporting other searchable enryption configurations.
Implementations§
Source§impl BeaconVersion
impl BeaconVersion
Sourcepub fn compound_beacons(&self) -> &Option<Vec<CompoundBeacon>>
pub fn compound_beacons(&self) -> &Option<Vec<CompoundBeacon>>
The Compound Beacons to be written with items.
Sourcepub fn encrypted_parts(&self) -> &Option<Vec<EncryptedPart>>
pub fn encrypted_parts(&self) -> &Option<Vec<EncryptedPart>>
The list of Encrypted Parts that may be included in any compound beacon.
Sourcepub fn key_source(&self) -> &Option<BeaconKeySource>
pub fn key_source(&self) -> &Option<BeaconKeySource>
The configuration for what beacon key(s) to use.
Sourcepub fn key_store(&self) -> &Option<Client>
pub fn key_store(&self) -> &Option<Client>
The Key Store that contains the Beacon Keys to use with searchable encryption.
Sourcepub fn signed_parts(&self) -> &Option<Vec<SignedPart>>
pub fn signed_parts(&self) -> &Option<Vec<SignedPart>>
The list of Signed Parts that may be included in any compound beacon.
Sourcepub fn standard_beacons(&self) -> &Option<Vec<StandardBeacon>>
pub fn standard_beacons(&self) -> &Option<Vec<StandardBeacon>>
The Standard Beacons to be written with items.
Sourcepub fn version(&self) -> &Option<i32>
pub fn version(&self) -> &Option<i32>
The version of searchable encryption configured. This must be ‘1’.
Sourcepub fn virtual_fields(&self) -> &Option<Vec<VirtualField>>
pub fn virtual_fields(&self) -> &Option<Vec<VirtualField>>
The Virtual Fields to be calculated, supporting other searchable enryption configurations.
Source§impl BeaconVersion
impl BeaconVersion
Sourcepub fn builder() -> BeaconVersionBuilder
pub fn builder() -> BeaconVersionBuilder
Creates a new builder-style object to manufacture BeaconVersion
.
Trait Implementations§
Source§impl Clone for BeaconVersion
impl Clone for BeaconVersion
Source§fn clone(&self) -> BeaconVersion
fn clone(&self) -> BeaconVersion
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for BeaconVersion
impl Debug for BeaconVersion
Source§impl PartialEq for BeaconVersion
impl PartialEq for BeaconVersion
impl StructuralPartialEq for BeaconVersion
Auto Trait Implementations§
impl Freeze for BeaconVersion
impl !RefUnwindSafe for BeaconVersion
impl Send for BeaconVersion
impl Sync for BeaconVersion
impl Unpin for BeaconVersion
impl !UnwindSafe for BeaconVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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