pub struct Meta { /* private fields */ }Implementations§
Source§impl Meta
impl Meta
pub fn all_layer_iter( &self, ) -> impl Iterator<Item = (LayerId, ArcStr)> + use<'_>
pub fn set_metadata_mapper(&mut self, meta: PropMapper)
pub fn set_temporal_prop_mapper(&mut self, meta: PropMapper)
pub fn set_layer_mapper(&mut self, meta: DictMapper)
pub fn metadata_mapper(&self) -> &PropMapper
pub fn temporal_prop_mapper(&self) -> &PropMapper
pub fn layer_meta(&self) -> &DictMapper
pub fn node_type_meta(&self) -> &DictMapper
pub fn temporal_est_row_size(&self) -> usize
pub fn const_est_row_size(&self) -> usize
pub fn new_for_nodes() -> Self
pub fn new_for_edges() -> Self
pub fn new_for_graph_props() -> Self
pub fn resolve_prop_id( &self, prop: &str, dtype: PropType, is_static: bool, ) -> Result<MaybeNew<usize>, PropError>
pub fn get_prop_id(&self, name: &str, is_static: bool) -> Option<usize>
pub fn get_prop_id_and_type( &self, name: &str, is_static: bool, ) -> Option<(usize, PropType)>
pub fn get_or_create_layer_id(&self, name: Option<&str>) -> MaybeNew<LayerId>
pub fn get_default_node_type_id(&self) -> usize
pub fn get_or_create_node_type_id(&self, node_type: &str) -> MaybeNew<usize>
pub fn get_layer_id(&self, name: &str) -> Option<LayerId>
pub fn get_default_layer_id(&self) -> Option<LayerId>
pub fn get_node_type_id(&self, node_type: &str) -> Option<usize>
pub fn get_layer_name_by_id(&self, id: LayerId) -> ArcStr
pub fn get_node_type_name_by_id(&self, id: usize) -> Option<ArcStr>
pub fn get_all_node_types(&self) -> Vec<ArcStr>
pub fn get_all_property_names(&self, is_static: bool) -> PublicKeys<ArcStr>
pub fn get_prop_name(&self, prop_id: usize, is_static: bool) -> ArcStr
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Meta
impl<'de> Deserialize<'de> for Meta
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
Auto Trait Implementations§
impl !Freeze for Meta
impl !RefUnwindSafe for Meta
impl !UnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnsafeUnpin for Meta
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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>
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