pub struct EventHubsConnectionStringProperties<'a> { /* private fields */ }Expand description
The set of properties that comprise a Event Hubs connection string.
Implementations§
source§impl<'a> EventHubsConnectionStringProperties<'a>
impl<'a> EventHubsConnectionStringProperties<'a>
sourcepub fn fully_qualified_namespace(&self) -> Option<&str>
pub fn fully_qualified_namespace(&self) -> Option<&str>
The fully qualified Event Hubs namespace that the consumer is associated with. This is
likely to be similar to "{yournamespace}.servicebus.windows.net".
sourcepub fn endpoint(&self) -> Option<&Url>
pub fn endpoint(&self) -> Option<&Url>
The endpoint to be used for connecting to the Event Hubs namespace.
sourcepub fn event_hub_name(&self) -> Option<&str>
pub fn event_hub_name(&self) -> Option<&str>
The name of the specific Event Hubs entity instance under the associated Event Hubs namespace.
The name of the shared access key, either for the Event Hubs namespace or the Event Hubs entity.
The value of the shared access key, either for the Event Hubs namespace or the Event Hubs entity.
The value of the fully-formed shared access signature, either for the Event Hubs namespace or the Event Hubs entity.
sourcepub fn to_connection_string(&self) -> Result<String, ToConnectionStringError>
pub fn to_connection_string(&self) -> Result<String, ToConnectionStringError>
Creates an Event Hubs connection string based on this set of
EventHubsConnectionStringProperties.
sourcepub fn parse(connection_string: &'a str) -> Result<Self, FormatError>
pub fn parse(connection_string: &'a str) -> Result<Self, FormatError>
Parses the specified Event Hubs connection string into its component properties.
Trait Implementations§
source§impl<'a> Debug for EventHubsConnectionStringProperties<'a>
impl<'a> Debug for EventHubsConnectionStringProperties<'a>
source§impl<'a> Hash for EventHubsConnectionStringProperties<'a>
impl<'a> Hash for EventHubsConnectionStringProperties<'a>
source§impl<'a> PartialEq for EventHubsConnectionStringProperties<'a>
impl<'a> PartialEq for EventHubsConnectionStringProperties<'a>
source§fn eq(&self, other: &EventHubsConnectionStringProperties<'a>) -> bool
fn eq(&self, other: &EventHubsConnectionStringProperties<'a>) -> bool
self and other values to be equal, and is used
by ==.impl<'a> Eq for EventHubsConnectionStringProperties<'a>
impl<'a> StructuralEq for EventHubsConnectionStringProperties<'a>
impl<'a> StructuralPartialEq for EventHubsConnectionStringProperties<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for EventHubsConnectionStringProperties<'a>
impl<'a> Send for EventHubsConnectionStringProperties<'a>
impl<'a> Sync for EventHubsConnectionStringProperties<'a>
impl<'a> Unpin for EventHubsConnectionStringProperties<'a>
impl<'a> UnwindSafe for EventHubsConnectionStringProperties<'a>
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
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
key and return true if they are equal.