pub struct DeprecatedBy { /* private fields */ }Expand description
A catalog entry’s replacement (CIP-157’s deprecatedBy): the display
text SHOW FUNCTIONS/SHOW PROCEDURES render and the replacement’s
syntactic form. The form keeps a function/procedure identifier apart
from a Cypher clause, so a notification remedy can name each one for
what it is instead of guessing from the string.
Implementations§
Source§impl DeprecatedBy
impl DeprecatedBy
Sourcepub const fn identifier(identifier: &'static str) -> Self
pub const fn identifier(identifier: &'static str) -> Self
A replacement whose catalog display text is the identifier itself.
Sourcepub const fn clause(clause: &'static str) -> Self
pub const fn clause(clause: &'static str) -> Self
A replacement whose catalog display text is the clause’s name.
Sourcepub const fn identified(identifier: &'static str, display: &'static str) -> Self
pub const fn identified(identifier: &'static str, display: &'static str) -> Self
A replacement whose catalog display is prose prefixed by the
identifier to render (CIP-157’s id cell).
Sourcepub fn form(self) -> DeprecationForm
pub fn form(self) -> DeprecationForm
The replacement’s syntactic form.
Trait Implementations§
Source§impl Clone for DeprecatedBy
impl Clone for DeprecatedBy
impl Copy for DeprecatedBy
Source§impl Debug for DeprecatedBy
impl Debug for DeprecatedBy
impl Eq for DeprecatedBy
Source§impl PartialEq for DeprecatedBy
impl PartialEq for DeprecatedBy
impl StructuralPartialEq for DeprecatedBy
Auto Trait Implementations§
impl Forget for DeprecatedBy
impl Freeze for DeprecatedBy
impl Move for DeprecatedBy
impl RefUnwindSafe for DeprecatedBy
impl Send for DeprecatedBy
impl Sync for DeprecatedBy
impl Unpin for DeprecatedBy
impl UnsafeUnpin for DeprecatedBy
impl UnwindSafe for DeprecatedBy
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
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,
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.