Struct cyfs_lib::RequestGlobalStatePath
source · pub struct RequestGlobalStatePath {
pub global_state_category: Option<GlobalStateCategory>,
pub global_state_root: Option<RequestGlobalStateRoot>,
pub dec_id: Option<ObjectId>,
pub req_path: Option<String>,
}
Fields§
§global_state_category: Option<GlobalStateCategory>
§global_state_root: Option<RequestGlobalStateRoot>
§dec_id: Option<ObjectId>
§req_path: Option<String>
Implementations§
source§impl RequestGlobalStatePath
impl RequestGlobalStatePath
pub fn new(dec_id: Option<ObjectId>, req_path: Option<impl Into<String>>) -> Self
pub fn new_system_dec(req_path: Option<impl Into<String>>) -> Self
pub fn set_root(&mut self, root: ObjectId)
pub fn set_dec_root(&mut self, dec_root: ObjectId)
pub fn category(&self) -> GlobalStateCategory
pub fn req_path(&self) -> Cow<'_, str>
pub fn dec<'a>(&'a self, source: &'a RequestSourceInfo) -> &ObjectId
pub fn parse(req_path: &str) -> BuckyResult<Self>
pub fn format_string(&self) -> String
pub fn match_target(&self, target: &Self) -> bool
Trait Implementations§
source§impl Clone for RequestGlobalStatePath
impl Clone for RequestGlobalStatePath
source§fn clone(&self) -> RequestGlobalStatePath
fn clone(&self) -> RequestGlobalStatePath
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RequestGlobalStatePath
impl Debug for RequestGlobalStatePath
source§impl Display for RequestGlobalStatePath
impl Display for RequestGlobalStatePath
source§impl FromStr for RequestGlobalStatePath
impl FromStr for RequestGlobalStatePath
source§impl PartialEq<RequestGlobalStatePath> for RequestGlobalStatePath
impl PartialEq<RequestGlobalStatePath> for RequestGlobalStatePath
source§fn eq(&self, other: &RequestGlobalStatePath) -> bool
fn eq(&self, other: &RequestGlobalStatePath) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.