neutralts::shared

Struct Shared

Source
pub(crate) struct Shared {
Show 23 fields pub(crate) schema: Value, pub(crate) lang: String, pub(crate) comments: String, pub(crate) bisf_count: u64, pub(crate) bisf_max: u64, pub(crate) flags: String, pub(crate) exit: bool, pub(crate) has_error: bool, pub(crate) status_code: String, pub(crate) status_text: String, pub(crate) status_param: String, pub(crate) redirect_js: String, pub(crate) filter_all: bool, pub(crate) filter_bifs: bool, pub(crate) cache_prefix: String, pub(crate) cache_dir: String, pub(crate) cache_on_post: bool, pub(crate) cache_on_get: bool, pub(crate) cache_on_cookies: bool, pub(crate) cache_disable: bool, pub(crate) disable_js: bool, pub(crate) already_js: bool, pub(crate) working_dir: String,
}

Fields§

§schema: Value§lang: String§comments: String§bisf_count: u64§bisf_max: u64§flags: String§exit: bool§has_error: bool§status_code: String§status_text: String§status_param: String§redirect_js: String§filter_all: bool§filter_bifs: bool§cache_prefix: String§cache_dir: String§cache_on_post: bool§cache_on_get: bool§cache_on_cookies: bool§cache_disable: bool§disable_js: bool§already_js: bool§working_dir: String

Implementations§

Source§

impl Shared

Source

pub(crate) fn new(schema: Value) -> Self

Auto Trait Implementations§

§

impl Freeze for Shared

§

impl RefUnwindSafe for Shared

§

impl Send for Shared

§

impl Sync for Shared

§

impl Unpin for Shared

§

impl UnwindSafe for Shared

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> Ungil for T
where T: Send,