pub struct UserAgentOptions {
pub application_id: Option<String>,
}Available on crate feature
export-azure only.Expand description
Policy options to telemeter the User-Agent header.
Fieldsยง
ยงapplication_id: Option<String>Set the application ID in the User-Agent header that can be telemetered.
ยงPanics
Panics if UserAgentOptions::application_id is greater than 24 characters.
See guidelines for details.
Trait Implementationsยง
Sourceยงimpl Clone for UserAgentOptions
impl Clone for UserAgentOptions
Sourceยงfn clone(&self) -> UserAgentOptions
fn clone(&self) -> UserAgentOptions
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 moreSourceยงimpl Debug for UserAgentOptions
impl Debug for UserAgentOptions
Sourceยงimpl Default for UserAgentOptions
impl Default for UserAgentOptions
Sourceยงfn default() -> UserAgentOptions
fn default() -> UserAgentOptions
Returns the โdefault valueโ for a type. Read more
Auto Trait Implementationsยง
impl Freeze for UserAgentOptions
impl RefUnwindSafe for UserAgentOptions
impl Send for UserAgentOptions
impl Sync for UserAgentOptions
impl Unpin for UserAgentOptions
impl UnsafeUnpin for UserAgentOptions
impl UnwindSafe for UserAgentOptions
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