pub struct ApplicationInfo { /* private fields */ }
Expand description
ApplicationInfo allows configuration of application metadata.
If you want to set non-default values for any of these fields, create a new instance with ApplicationInfo::new and pass it to ConfigBuilder::application_info.
Implementations§
Source§impl ApplicationInfo
impl ApplicationInfo
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new default instance of ApplicationInfo.
Sourcepub fn application_identifier(
&mut self,
application_id: impl Into<String>,
) -> &mut Self
pub fn application_identifier( &mut self, application_id: impl Into<String>, ) -> &mut Self
A unique identifier representing the application where the LaunchDarkly SDK is running.
This can be specified as any string value as long as it only uses the following characters: ASCII letters, ASCII digits, period, hyphen, underscore. A string containing any other characters will be ignored.
Sourcepub fn application_version(
&mut self,
application_version: impl Into<String>,
) -> &mut Self
pub fn application_version( &mut self, application_version: impl Into<String>, ) -> &mut Self
A unique identifier representing the version of the application where the LaunchDarkly SDK is running.
This can be specified as any string value as long as it only uses the following characters: ASCII letters, ASCII digits, period, hyphen, underscore. A string containing any other characters will be ignored.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApplicationInfo
impl RefUnwindSafe for ApplicationInfo
impl Send for ApplicationInfo
impl Sync for ApplicationInfo
impl Unpin for ApplicationInfo
impl UnwindSafe for ApplicationInfo
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more