pub struct AuthorizationContext {
pub workspace_location: FileLocation,
}Fields§
§workspace_location: FileLocationImplementations§
Source§impl AuthorizationContext
impl AuthorizationContext
pub fn new(workspace_location: FileLocation) -> Self
pub fn empty() -> Self
pub fn get_path_from_str(&self, path_str: &str) -> Result<FileLocation, String>
Trait Implementations§
Source§impl Clone for AuthorizationContext
impl Clone for AuthorizationContext
Source§fn clone(&self) -> AuthorizationContext
fn clone(&self) -> AuthorizationContext
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 moreAuto Trait Implementations§
impl Freeze for AuthorizationContext
impl RefUnwindSafe for AuthorizationContext
impl Send for AuthorizationContext
impl Sync for AuthorizationContext
impl Unpin for AuthorizationContext
impl UnwindSafe for AuthorizationContext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more