pub struct ApplicationService { /* private fields */ }
Expand description
A struct containing information required by an application service.
Implementations§
Source§impl ApplicationService
impl ApplicationService
Sourcepub fn new(server_name: Box<ServerName>, server_url: Uri) -> Self
pub fn new(server_name: Box<ServerName>, server_url: Uri) -> Self
Create a new ApplicationService struct with the given information.
Sourcepub fn server_name(&self) -> &ServerName
pub fn server_name(&self) -> &ServerName
Get a reference to the server name in this ApplicationService instance.
Sourcepub fn server_url(&self) -> Uri
pub fn server_url(&self) -> Uri
Get a reference to the server url in this ApplicationService instance.
Trait Implementations§
Source§impl Clone for ApplicationService
impl Clone for ApplicationService
Source§fn clone(&self) -> ApplicationService
fn clone(&self) -> ApplicationService
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 ApplicationService
impl Debug for ApplicationService
Source§impl<'de> Deserialize<'de> for ApplicationService
impl<'de> Deserialize<'de> for ApplicationService
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ApplicationService
impl RefUnwindSafe for ApplicationService
impl Send for ApplicationService
impl Sync for ApplicationService
impl Unpin for ApplicationService
impl UnwindSafe for ApplicationService
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