pub struct ModifyList<VALID> { /* private fields */ }
Implementations§
source§impl ModifyList<ModifyInvalid>
impl ModifyList<ModifyInvalid>
pub fn new() -> Self
pub fn new_list(mods: Vec<Modify>) -> Self
pub fn new_purge_and_set(attr: Attribute, v: Value) -> Self
pub fn new_append(attr: Attribute, v: Value) -> Self
pub fn new_remove(attr: Attribute, pv: PartialValue) -> Self
pub fn new_purge(attr: Attribute) -> Self
pub fn push_mod(&mut self, modify: Modify)
pub fn from( ml: &ProtoModifyList, qs: &mut QueryServerWriteTransaction<'_>, ) -> Result<Self, OperationError>
pub fn from_patch( pe: &ProtoEntry, qs: &mut QueryServerWriteTransaction<'_>, ) -> Result<Self, OperationError>
pub fn validate( &self, schema: &dyn SchemaTransaction, ) -> Result<ModifyList<ModifyValid>, SchemaError>
source§impl ModifyList<ModifyValid>
impl ModifyList<ModifyValid>
Trait Implementations§
source§impl<VALID: Clone> Clone for ModifyList<VALID>
impl<VALID: Clone> Clone for ModifyList<VALID>
source§fn clone(&self) -> ModifyList<VALID>
fn clone(&self) -> ModifyList<VALID>
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 moresource§impl<VALID: Debug> Debug for ModifyList<VALID>
impl<VALID: Debug> Debug for ModifyList<VALID>
source§impl<VALID: Default> Default for ModifyList<VALID>
impl<VALID: Default> Default for ModifyList<VALID>
source§fn default() -> ModifyList<VALID>
fn default() -> ModifyList<VALID>
Returns the “default value” for a type. Read more
source§impl From<BTreeMap<Attribute, Option<Box<dyn ValueSetT + Sync + Send>>>> for ModifyList<ModifyInvalid>
impl From<BTreeMap<Attribute, Option<Box<dyn ValueSetT + Sync + Send>>>> for ModifyList<ModifyInvalid>
source§impl<'a> IntoIterator for &'a ModifyList<ModifyValid>
impl<'a> IntoIterator for &'a ModifyList<ModifyValid>
Auto Trait Implementations§
impl<VALID> Freeze for ModifyList<VALID>where
VALID: Freeze,
impl<VALID> !RefUnwindSafe for ModifyList<VALID>
impl<VALID> Send for ModifyList<VALID>where
VALID: Send,
impl<VALID> Sync for ModifyList<VALID>where
VALID: Sync,
impl<VALID> Unpin for ModifyList<VALID>where
VALID: Unpin,
impl<VALID> !UnwindSafe for ModifyList<VALID>
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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
)§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request