#[non_exhaustive]pub struct SupervisorModuleProvenanceExt {
pub registration: Option<RegistrationMethod>,
pub registration_declaration: Option<String>,
}Expand description
Optional entry keys kept outside the exhaustive provenance struct so older construction sites and destructures remain source-compatible.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.registration: Option<RegistrationMethod>The running spawn’s registration path. Absence makes no claim about it.
registration_declaration: Option<String>Durable configured channel support, including stopped and disabled modules:
declared, undeclared, or not_applicable for protocol-none children.
Absence means unknown; future strings are retained unchanged.
Implementations§
Source§impl SupervisorModuleProvenanceExt
impl SupervisorModuleProvenanceExt
pub fn new() -> Self
pub fn with_registration(self, registration: Option<RegistrationMethod>) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SupervisorModuleProvenanceExt
impl<'de> Deserialize<'de> for SupervisorModuleProvenanceExt
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
impl Eq for SupervisorModuleProvenanceExt
impl StructuralPartialEq for SupervisorModuleProvenanceExt
Auto Trait Implementations§
impl Forget for SupervisorModuleProvenanceExt
impl Freeze for SupervisorModuleProvenanceExt
impl Move for SupervisorModuleProvenanceExt
impl RefUnwindSafe for SupervisorModuleProvenanceExt
impl Send for SupervisorModuleProvenanceExt
impl Sync for SupervisorModuleProvenanceExt
impl Unpin for SupervisorModuleProvenanceExt
impl UnsafeUnpin for SupervisorModuleProvenanceExt
impl UnwindSafe for SupervisorModuleProvenanceExt
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