WCCQYDLPFFKADXKADXV7IR2DCY4RKNXHIFNBKXJRTIRLL5YTH52QC /// Produces an iterator over the segments of the path.pub fn segments(&self) -> Segments<'_> {Segments {inner: self.name.split(':'),
/// Returns the final segment of the account name.#[must_use]pub fn leaf_name(&self) -> &Seg {let leaf = self.name.rsplit_once(':').map_or(&self.name, |(_, leaf)| leaf);unsafe {// SAFETY: By construction, if `self` is a valid account name, `leaf` is a valid account segment.Seg::from_unchecked(leaf)