fn new(kind: SourceKind, url: Url) -> Result<Self, Error> {
        Ok(Self {
            kind,
            url,
            precise: None,
            name: None,
        })
    }
/// Creates a `SourceId` object from the kind and URL.
Creates a `SourceId` object from the kind and URL.
Creates a ` SourceId ` object from the kind and URL .
fn new(kind: SourceKind, url: Url) -> Result<Self, Error> {
        Ok(Self {
            kind,
            url,
            precise: None,
            name: None,
        })
    }
fn new ( kind : SourceKind , url : Url ) -> Result < Self , Error > { Ok ( Self { kind , url , precise : None , name : None , } ) }
Creates a `SourceId` object from the kind and URL.
Creates a ` SourceId ` object from the kind and URL .
kind
SourceKind
url
Url
kind
SourceKind
url
Url