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
sourceimpl 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
sourceimpl Clone for RequestGlobalStatePath
impl Clone for RequestGlobalStatePath
sourcefn clone(&self) -> RequestGlobalStatePath
fn clone(&self) -> RequestGlobalStatePath
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RequestGlobalStatePath
impl Debug for RequestGlobalStatePath
sourceimpl Display for RequestGlobalStatePath
impl Display for RequestGlobalStatePath
sourceimpl FromStr for RequestGlobalStatePath
impl FromStr for RequestGlobalStatePath
sourceimpl PartialEq<RequestGlobalStatePath> for RequestGlobalStatePath
impl PartialEq<RequestGlobalStatePath> for RequestGlobalStatePath
sourcefn eq(&self, other: &RequestGlobalStatePath) -> bool
fn eq(&self, other: &RequestGlobalStatePath) -> bool
impl Eq for RequestGlobalStatePath
impl StructuralEq for RequestGlobalStatePath
impl StructuralPartialEq for RequestGlobalStatePath
Auto Trait Implementations
impl RefUnwindSafe for RequestGlobalStatePath
impl Send for RequestGlobalStatePath
impl Sync for RequestGlobalStatePath
impl Unpin for RequestGlobalStatePath
impl UnwindSafe for RequestGlobalStatePath
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more