Enum raphtory_api::core::entities::GID
source · pub enum GID {
U64(u64),
Str(String),
}Variants§
Implementations§
source§impl GID
impl GID
pub fn dtype(&self) -> GidType
pub fn into_str(self) -> Option<String>
pub fn into_u64(self) -> Option<u64>
pub fn as_str(&self) -> Option<&str>
pub fn as_u64(&self) -> Option<u64>
pub fn to_str(&self) -> Cow<'_, str>
pub fn to_i64(&self) -> Option<i64>
pub fn to_u64(&self) -> Option<u64>
Trait Implementations§
source§impl<'de> Deserialize<'de> for GID
impl<'de> Deserialize<'de> for GID
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 Ord for GID
impl Ord for GID
source§impl PartialOrd for GID
impl PartialOrd for GID
impl Eq for GID
impl StructuralPartialEq for GID
Auto Trait Implementations§
impl Freeze for GID
impl RefUnwindSafe for GID
impl Send for GID
impl Sync for GID
impl Unpin for GID
impl UnwindSafe for GID
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§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)