Skip to main content

Scope

Trait Scope 

Source
pub trait Scope {
    // Required method
    fn base(&self) -> String;
}
Expand description

A scope’s URL prefix. Implemented by OrgScope, InboxScope, and PodScope.

Required Methods§

Source

fn base(&self) -> String

The path prefix for this scope (no trailing slash), e.g. /v0 or /v0/inboxes/ib_1.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§