···
pub authority: AtIdentifier<'this>,
-
pub path: Option<UriPath<'this>>,
pub fragment: Option<CowStr<'this>>,
···
-
Some(UriPath { collection, rkey })
···
/// at:// URI path component (current subset)
#[derive(Clone, PartialEq, Eq, Hash, Debug)]
-
pub struct UriPath<'u> {
pub collection: Nsid<'u>,
pub rkey: Option<RecordKey<Rkey<'u>>>,
-
impl IntoStatic for UriPath<'_> {
-
type Output = UriPath<'static>;
fn into_static(self) -> Self::Output {
collection: self.collection.into_static(),
rkey: self.rkey.map(|rkey| rkey.into_static()),
-
pub type UriPathBuf = UriPath<'static>;
pub static ATURI_REGEX: LazyLock<Regex> = LazyLock::new(|| {
// Fragment allows: / and \ and other special chars. In raw string, backslashes are literal.
···
-
Some(UriPath { collection, rkey })
···
-
Some(UriPath { collection, rkey })
···
-
Some(UriPath { collection, rkey })
···
self.inner.borrow_authority()
-
pub fn path(&self) -> &Option<UriPath<'_>> {
···
-
Some(UriPath { collection, rkey })
···
-
Some(UriPath { collection, rkey })
···
-
Some(UriPath { collection, rkey })
···
-
Some(UriPath { collection, rkey })
···
-
Some(UriPath { collection, rkey })
···
-
Some(UriPath { collection, rkey })
···
-
Some(UriPath { collection, rkey })
···
-
Some(UriPath { collection, rkey })
···
pub authority: AtIdentifier<'this>,
+
pub path: Option<RepoPath<'this>>,
pub fragment: Option<CowStr<'this>>,
···
+
Some(RepoPath { collection, rkey })
···
/// at:// URI path component (current subset)
#[derive(Clone, PartialEq, Eq, Hash, Debug)]
+
pub struct RepoPath<'u> {
pub collection: Nsid<'u>,
pub rkey: Option<RecordKey<Rkey<'u>>>,
+
impl IntoStatic for RepoPath<'_> {
+
type Output = RepoPath<'static>;
fn into_static(self) -> Self::Output {
collection: self.collection.into_static(),
rkey: self.rkey.map(|rkey| rkey.into_static()),
+
pub type UriPathBuf = RepoPath<'static>;
pub static ATURI_REGEX: LazyLock<Regex> = LazyLock::new(|| {
// Fragment allows: / and \ and other special chars. In raw string, backslashes are literal.
···
+
Some(RepoPath { collection, rkey })
···
+
Some(RepoPath { collection, rkey })
···
+
Some(RepoPath { collection, rkey })
···
self.inner.borrow_authority()
+
pub fn path(&self) -> &Option<RepoPath<'_>> {
···
+
Some(RepoPath { collection, rkey })
···
+
Some(RepoPath { collection, rkey })
···
+
Some(RepoPath { collection, rkey })
···
+
Some(RepoPath { collection, rkey })
···
+
Some(RepoPath { collection, rkey })
···
+
Some(RepoPath { collection, rkey })
···
+
Some(RepoPath { collection, rkey })
···
+
Some(RepoPath { collection, rkey })