pub struct SchemaRegistry { /* private fields */ }
Expand description
A schema registry client
Implementations§
Source§impl SchemaRegistry
impl SchemaRegistry
Sourcepub fn new(base_url: Url, client: ClientWithMiddleware) -> Self
pub fn new(base_url: Url, client: ClientWithMiddleware) -> Self
Create a schema registry client
Sourcepub fn build_default(base_url: Url) -> Result<Self, SchemaRegistryError>
pub fn build_default(base_url: Url) -> Result<Self, SchemaRegistryError>
Sourcepub fn schema(&self) -> SchemaClient<'_>
pub fn schema(&self) -> SchemaClient<'_>
Schema client
Sourcepub fn subject(&self) -> SubjectClient<'_>
pub fn subject(&self) -> SubjectClient<'_>
Subject client
Sourcepub fn mode(&self) -> ModeClient<'_>
pub fn mode(&self) -> ModeClient<'_>
Mode client
Sourcepub fn compatibility(&self) -> CompatibilityClient<'_>
pub fn compatibility(&self) -> CompatibilityClient<'_>
Compatibility client
Sourcepub fn config(&self) -> ConfigClient<'_>
pub fn config(&self) -> ConfigClient<'_>
Configuration client
Trait Implementations§
Source§impl Clone for SchemaRegistry
impl Clone for SchemaRegistry
Source§fn clone(&self) -> SchemaRegistry
fn clone(&self) -> SchemaRegistry
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 moreAuto Trait Implementations§
impl Freeze for SchemaRegistry
impl !RefUnwindSafe for SchemaRegistry
impl Send for SchemaRegistry
impl Sync for SchemaRegistry
impl Unpin for SchemaRegistry
impl !UnwindSafe for SchemaRegistry
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