pub struct AnsibleExtension { /* private fields */ }Trait Implementations§
Source§impl Clone for AnsibleExtension
impl Clone for AnsibleExtension
Source§fn clone(&self) -> AnsibleExtension
fn clone(&self) -> AnsibleExtension
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 AnsibleExtension
impl Debug for AnsibleExtension
Source§impl Extension for AnsibleExtension
impl Extension for AnsibleExtension
Source§fn identify_package_dependencies(
&self,
_package_name: &str,
_package_version: &Option<&str>,
_extension_args: &[String],
) -> Result<Vec<PackageDependencies>>
fn identify_package_dependencies( &self, _package_name: &str, _package_version: &Option<&str>, _extension_args: &[String], ) -> Result<Vec<PackageDependencies>>
Returns a list of dependencies for the given package.
Returns one package dependencies structure per registry.
Source§fn registries(&self) -> Vec<String>
fn registries(&self) -> Vec<String>
Return registry host names supported by this extension.
Source§fn identify_file_defined_dependencies(
&self,
working_directory: &Path,
_extension_args: &[String],
) -> Result<Vec<FileDefinedDependencies>>
fn identify_file_defined_dependencies( &self, working_directory: &Path, _extension_args: &[String], ) -> Result<Vec<FileDefinedDependencies>>
Identify file defined dependencies.
Source§fn registries_package_metadata(
&self,
package_name: &str,
package_version: &Option<&str>,
) -> Result<Vec<RegistryPackageMetadata>>
fn registries_package_metadata( &self, package_name: &str, package_version: &Option<&str>, ) -> Result<Vec<RegistryPackageMetadata>>
Query package registries for package metadata.
Source§fn review_target_policy(&self) -> ReviewTargetPolicy
fn review_target_policy(&self) -> ReviewTargetPolicy
Return automatic review-target selection policy for this extension.
Auto Trait Implementations§
impl Freeze for AnsibleExtension
impl RefUnwindSafe for AnsibleExtension
impl Send for AnsibleExtension
impl Sync for AnsibleExtension
impl Unpin for AnsibleExtension
impl UnsafeUnpin for AnsibleExtension
impl UnwindSafe for AnsibleExtension
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