pub struct Params { /* private fields */ }Expand description
The complete input to a payload projection. Comparisons reconstruct it from the landing record; landing verbs resolve their candidate inputs.
Implementations§
Source§impl Params
impl Params
Sourcepub fn from_record(record: &Manifest) -> Self
pub fn from_record(record: &Manifest) -> Self
Reconstruct every projection parameter from the record alone, including the compatibility defaults applied when it was loaded.
Sourcepub fn resolve(
target: &Utf8Path,
flags: &Inputs<'_>,
config: Option<&Config>,
record: Option<&Manifest>,
purpose: Purpose,
) -> Result<Self, RkError>
pub fn resolve( target: &Utf8Path, flags: &Inputs<'_>, config: Option<&Config>, record: Option<&Manifest>, purpose: Purpose, ) -> Result<Self, RkError>
Resolve flags, configuration, recorded compatibility inputs or detection,
and finally the compiled defaults. Comparisons use from_record alone.
§Errors
Refuses unresolved identity or a style an existing target has not answered.
Sourcepub fn line_prefix(&self) -> &str
pub fn line_prefix(&self) -> &str
The release-line prefix this landing writes into its artifacts.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Params
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl UnsafeUnpin for Params
impl UnwindSafe for Params
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