fn has_artifact(&self, message_id: &artifact::ArtifactId) -> bool {
        let tag: ArtifactTag = message_id.into();

        match self.clients.get(&tag) {
            Some(client) => client.has_artifact(message_id).unwrap_or(false),
            None => false,
        }
    }
/// The method checks if any of the artifact clients already have the
/// artifact with the given ID in the pool.
The method checks if any of the artifact clients already have the
artifact with the given ID in the pool.
The method checks if any of the artifact clients already have the artifact with the given ID in the pool .
fn has_artifact(&self, message_id: &artifact::ArtifactId) -> bool {
        let tag: ArtifactTag = message_id.into();
        match self.clients.get(&tag) {
            Some(client) => client.has_artifact(message_id).unwrap_or(false),
            None => false,
        }
    }
fn has_artifact ( & self , message_id : & artifact :: ArtifactId ) -> bool { let tag : ArtifactTag = message_id . into ( ) ; match self . clients . get ( & tag ) { Some ( client ) => client . has_artifact ( message_id ) . unwrap_or ( false ) , None => false , } }
The method checks if any of the artifact clients already have the
artifact with the given ID in the pool.
The method checks if any of the artifact clients already have the artifact with the given ID in the pool .
&self
message_id
&artifact::ArtifactId
&self
message_id
&artifact::ArtifactId