pub struct CustomConfig {
pub dir: String,
pub runtime: String,
pub timeout: u64,
}Expand description
Custom rules written in Luau, executed by a LuneBlox runtime.
Fields§
§dir: StringDirectory of *.luau rule files, relative to the project root.
runtime: StringThe Luau runtime binary used to execute the rules.
timeout: u64Seconds a custom-rule run may take before it is stopped.
Trait Implementations§
Source§impl Clone for CustomConfig
impl Clone for CustomConfig
Source§impl Debug for CustomConfig
impl Debug for CustomConfig
Source§impl Default for CustomConfig
impl Default for CustomConfig
Source§impl<'de> Deserialize<'de> for CustomConfigwhere
CustomConfig: Default,
impl<'de> Deserialize<'de> for CustomConfigwhere
CustomConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for CustomConfig
impl Freeze for CustomConfig
impl Move for CustomConfig
impl RefUnwindSafe for CustomConfig
impl Send for CustomConfigwhere
RawVecInner: Send,
impl Sync for CustomConfigwhere
RawVecInner: Sync,
impl Unpin for CustomConfig
impl UnsafeUnpin for CustomConfig
impl UnwindSafe for CustomConfigwhere
RawVecInner: UnwindSafe,
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