pub struct OpenMetadataClient { /* private fields */ }Trait Implementations§
Source§impl Crud for OpenMetadataClient
impl Crud for OpenMetadataClient
type Entity = OpenMetadataClient
Source§fn create<T: Entity>(
&self,
_entity: &T,
) -> impl Future<Output = Result<Uuid, OpenMetadataError>>
fn create<T: Entity>( &self, _entity: &T, ) -> impl Future<Output = Result<Uuid, OpenMetadataError>>
Create a new entity.
Source§fn read<T: Entity>(
&self,
_id: &Uuid,
) -> impl Future<Output = Result<Option<T>, OpenMetadataError>>
fn read<T: Entity>( &self, _id: &Uuid, ) -> impl Future<Output = Result<Option<T>, OpenMetadataError>>
Read an entity by its ID.
Source§impl<'de> Deserialize<'de> for OpenMetadataClient
impl<'de> Deserialize<'de> for OpenMetadataClient
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 Entity for OpenMetadataClient
impl Entity for OpenMetadataClient
fn entity_type() -> &'static str
Auto Trait Implementations§
impl Freeze for OpenMetadataClient
impl RefUnwindSafe for OpenMetadataClient
impl Send for OpenMetadataClient
impl Sync for OpenMetadataClient
impl Unpin for OpenMetadataClient
impl UnsafeUnpin for OpenMetadataClient
impl UnwindSafe for OpenMetadataClient
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