fn has_artifact(&self, msg_id: &artifact::ArtifactId) -> Result<bool, ()> {
        match msg_id.try_into() {
            Ok(id) => Ok(self.client.as_ref().has_artifact(id)),
            Err(_) => Err(()),
        }
    }
/// The method checks if the artifact with the given ID is available.
The method checks if the artifact with the given ID is available.
The method checks if the artifact with the given ID is available .
fn has_artifact(&self, msg_id: &artifact::ArtifactId) -> Result<bool, ()> {
        match msg_id.try_into() {
            Ok(id) => Ok(self.client.as_ref().has_artifact(id)),
            Err(_) => Err(()),
        }
    }
fn has_artifact ( & self , msg_id : & artifact :: ArtifactId ) -> Result < bool , ( ) > { match msg_id . try_into ( ) { Ok ( id ) => Ok ( self . client . as_ref ( ) . has_artifact ( id ) ) , Err ( _ ) => Err ( ( ) ) , } }
The method checks if the artifact with the given ID is available.
The method checks if the artifact with the given ID is available .
&self
msg_id
&artifact::ArtifactId
&self
msg_id
&artifact::ArtifactId