#[non_exhaustive]pub struct UpdateMetadataEndpoint {
    pub port: i32,
    pub host: StrBytes,
    pub listener: StrBytes,
    pub security_protocol: i16,
    pub unknown_tagged_fields: BTreeMap<i32, Bytes>,
}Expand description
Valid versions: 0-8
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.port: i32The port of this endpoint
Supported API versions: 1-8
host: StrBytesThe hostname of this endpoint
Supported API versions: 1-8
listener: StrBytesThe listener name.
Supported API versions: 3-8
security_protocol: i16The security protocol type.
Supported API versions: 1-8
unknown_tagged_fields: BTreeMap<i32, Bytes>Other tagged fields
Implementations§
Source§impl UpdateMetadataEndpoint
 
impl UpdateMetadataEndpoint
Sourcepub fn with_port(self, value: i32) -> Self
 
pub fn with_port(self, value: i32) -> Self
Sets port to the passed value.
The port of this endpoint
Supported API versions: 1-8
Sourcepub fn with_host(self, value: StrBytes) -> Self
 
pub fn with_host(self, value: StrBytes) -> Self
Sets host to the passed value.
The hostname of this endpoint
Supported API versions: 1-8
Sourcepub fn with_listener(self, value: StrBytes) -> Self
 
pub fn with_listener(self, value: StrBytes) -> Self
Sets listener to the passed value.
The listener name.
Supported API versions: 3-8
Sourcepub fn with_security_protocol(self, value: i16) -> Self
 
pub fn with_security_protocol(self, value: i16) -> Self
Sets security_protocol to the passed value.
The security protocol type.
Supported API versions: 1-8
Sourcepub fn with_unknown_tagged_fields(self, value: BTreeMap<i32, Bytes>) -> Self
 
pub fn with_unknown_tagged_fields(self, value: BTreeMap<i32, Bytes>) -> Self
Sets unknown_tagged_fields to the passed value.
Sourcepub fn with_unknown_tagged_field(self, key: i32, value: Bytes) -> Self
 
pub fn with_unknown_tagged_field(self, key: i32, value: Bytes) -> Self
Inserts an entry into unknown_tagged_fields.
Trait Implementations§
Source§impl Clone for UpdateMetadataEndpoint
 
impl Clone for UpdateMetadataEndpoint
Source§fn clone(&self) -> UpdateMetadataEndpoint
 
fn clone(&self) -> UpdateMetadataEndpoint
Returns a copy 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 moreSource§impl Debug for UpdateMetadataEndpoint
 
impl Debug for UpdateMetadataEndpoint
Source§impl Decodable for UpdateMetadataEndpoint
Available on crate feature broker only. 
impl Decodable for UpdateMetadataEndpoint
Available on crate feature 
broker only.Source§impl Default for UpdateMetadataEndpoint
 
impl Default for UpdateMetadataEndpoint
Source§impl Encodable for UpdateMetadataEndpoint
Available on crate feature client only. 
impl Encodable for UpdateMetadataEndpoint
Available on crate feature 
client only.Source§impl Message for UpdateMetadataEndpoint
 
impl Message for UpdateMetadataEndpoint
Source§const VERSIONS: VersionRange = _
 
const VERSIONS: VersionRange = _
The valid versions for this message.
Source§const DEPRECATED_VERSIONS: Option<VersionRange> = None
 
const DEPRECATED_VERSIONS: Option<VersionRange> = None
The deprecated versions for this message.
Source§impl PartialEq for UpdateMetadataEndpoint
 
impl PartialEq for UpdateMetadataEndpoint
impl StructuralPartialEq for UpdateMetadataEndpoint
Auto Trait Implementations§
impl !Freeze for UpdateMetadataEndpoint
impl RefUnwindSafe for UpdateMetadataEndpoint
impl Send for UpdateMetadataEndpoint
impl Sync for UpdateMetadataEndpoint
impl Unpin for UpdateMetadataEndpoint
impl UnwindSafe for UpdateMetadataEndpoint
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