pub struct RawPackageConfig {
pub name: String,
pub manufacturer: String,
pub version: String,
pub description: Option<String>,
pub authors: Option<Vec<String>>,
pub license: Option<String>,
pub tags: Vec<String>,
pub signature_algorithm: Option<String>,
pub exports: Vec<PathBuf>,
}Fields§
§name: StringPackage name (also used as the actor type name)
manufacturer: StringManufacturer identifier (e.g., “acme”)
version: StringSemantic version (e.g., “1.0.0”). Defaults to empty string if not specified.
description: Option<String>§license: Option<String>Service tags (e.g., [“latest”, “stable”, “v1.0”])
signature_algorithm: Option<String>Signature algorithm (default: “ed25519”)
exports: Vec<PathBuf>Exported proto file paths (new location, preferred over top-level exports)
Implementations§
Source§impl RawPackageConfig
impl RawPackageConfig
pub fn into_package_info(self) -> Result<PackageInfo, ConfigError>
Trait Implementations§
Source§impl Clone for RawPackageConfig
impl Clone for RawPackageConfig
Source§fn clone(&self) -> RawPackageConfig
fn clone(&self) -> RawPackageConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RawPackageConfig
impl Debug for RawPackageConfig
Source§impl<'de> Deserialize<'de> for RawPackageConfig
impl<'de> Deserialize<'de> for RawPackageConfig
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 RawPackageConfig
impl RefUnwindSafe for RawPackageConfig
impl Send for RawPackageConfig
impl Sync for RawPackageConfig
impl Unpin for RawPackageConfig
impl UnsafeUnpin for RawPackageConfig
impl UnwindSafe for RawPackageConfig
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