#[repr(C)]pub struct XsltSecurityPrefs {
pub readFile: c_int,
pub writeFile: c_int,
pub createDirectory: c_int,
pub readNetwork: c_int,
pub writeNetwork: c_int,
}Expand description
Internal security preferences structure.
Stores the current allow/deny setting for each of the five controllable security options.
Fields§
§readFile: c_intAllow reading files from the filesystem.
writeFile: c_intAllow writing files to the filesystem.
createDirectory: c_intAllow creating directories on the filesystem.
readNetwork: c_intAllow reading network resources.
writeNetwork: c_intAllow writing to network resources.
Auto Trait Implementations§
impl Freeze for XsltSecurityPrefs
impl RefUnwindSafe for XsltSecurityPrefs
impl Send for XsltSecurityPrefs
impl Sync for XsltSecurityPrefs
impl Unpin for XsltSecurityPrefs
impl UnsafeUnpin for XsltSecurityPrefs
impl UnwindSafe for XsltSecurityPrefs
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