pub enum ShadowAnnotation {
ShadowVariable {
source_variable_name: String,
source_entity_class: Option<String>,
},
InverseRelationShadowVariable {
source_variable_name: String,
},
IndexShadowVariable {
source_variable_name: String,
},
PreviousElementShadowVariable {
source_variable_name: String,
},
NextElementShadowVariable {
source_variable_name: String,
},
AnchorShadowVariable {
source_variable_name: String,
},
PiggybackShadowVariable {
shadow_variable_name: String,
},
CascadingUpdateShadowVariable {
target_method_name: String,
},
}Variants§
ShadowVariable
InverseRelationShadowVariable
IndexShadowVariable
PreviousElementShadowVariable
NextElementShadowVariable
AnchorShadowVariable
PiggybackShadowVariable
CascadingUpdateShadowVariable
Implementations§
Source§impl ShadowAnnotation
impl ShadowAnnotation
pub fn shadow_variable(source_variable_name: impl Into<String>) -> Self
pub fn shadow_variable_with_class( source_variable_name: impl Into<String>, source_entity_class: impl Into<String>, ) -> Self
pub fn inverse_relation(source_variable_name: impl Into<String>) -> Self
pub fn index(source_variable_name: impl Into<String>) -> Self
pub fn previous_element(source_variable_name: impl Into<String>) -> Self
pub fn next_element(source_variable_name: impl Into<String>) -> Self
pub fn anchor(source_variable_name: impl Into<String>) -> Self
pub fn piggyback(shadow_variable_name: impl Into<String>) -> Self
pub fn cascading_update(target_method_name: impl Into<String>) -> Self
pub fn source_variable_name(&self) -> Option<&str>
pub fn is_list_variable_shadow(&self) -> bool
Trait Implementations§
Source§impl Clone for ShadowAnnotation
impl Clone for ShadowAnnotation
Source§fn clone(&self) -> ShadowAnnotation
fn clone(&self) -> ShadowAnnotation
Returns a duplicate 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 Debug for ShadowAnnotation
impl Debug for ShadowAnnotation
Source§impl<'de> Deserialize<'de> for ShadowAnnotation
impl<'de> Deserialize<'de> for ShadowAnnotation
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
Source§impl PartialEq for ShadowAnnotation
impl PartialEq for ShadowAnnotation
Source§impl Serialize for ShadowAnnotation
impl Serialize for ShadowAnnotation
impl Eq for ShadowAnnotation
impl StructuralPartialEq for ShadowAnnotation
Auto Trait Implementations§
impl Freeze for ShadowAnnotation
impl RefUnwindSafe for ShadowAnnotation
impl Send for ShadowAnnotation
impl Sync for ShadowAnnotation
impl Unpin for ShadowAnnotation
impl UnwindSafe for ShadowAnnotation
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<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.