pub struct CodePackageInfo {
pub context_id: WString,
pub code_package_name: WString,
pub code_package_version: WString,
pub work_directory: WString,
pub log_directory: WString,
pub temp_directory: WString,
pub application_name: WString,
pub application_type_name: WString,
pub service_listen_address: WString,
pub service_publish_address: WString,
}
Expand description
Code package information is propagated here from the ActivationContext provided when the service is started. This information can be used to setup log directories and other resources needed which require information about the code package and the local runtime environment.
Fields§
§context_id: WString
§code_package_name: WString
§code_package_version: WString
§work_directory: WString
§log_directory: WString
§temp_directory: WString
§application_name: WString
§application_type_name: WString
§service_listen_address: WString
§service_publish_address: WString
Trait Implementations§
Source§impl Clone for CodePackageInfo
impl Clone for CodePackageInfo
Source§fn clone(&self) -> CodePackageInfo
fn clone(&self) -> CodePackageInfo
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 moreAuto Trait Implementations§
impl Freeze for CodePackageInfo
impl RefUnwindSafe for CodePackageInfo
impl Send for CodePackageInfo
impl Sync for CodePackageInfo
impl Unpin for CodePackageInfo
impl UnwindSafe for CodePackageInfo
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