Trait GetProjectId

Source
pub trait GetProjectId {
    // Required methods
    fn project_id(&self) -> ProjectId;
    fn parent_id(&self) -> Option<ProjectId>;
    fn root_id(&self) -> ProjectId;

    // Provided method
    fn is_root(&self) -> bool { ... }
}

Required Methods§

Provided Methods§

Source

fn is_root(&self) -> bool

Get whether this project is a root

Implementations on Foreign Types§

Source§

impl GetProjectId for Url

Implementors§