pub struct FactParams {
pub title: String,
pub verify: String,
pub description: Option<String>,
pub paths: Option<String>,
pub ttl_days: Option<i64>,
pub pass_ok: bool,
}Expand description
Parameters for creating a fact.
Fields§
§title: String§verify: String§description: Option<String>§paths: Option<String>§ttl_days: Option<i64>§pass_ok: boolAuto Trait Implementations§
impl Freeze for FactParams
impl RefUnwindSafe for FactParams
impl Send for FactParams
impl Sync for FactParams
impl Unpin for FactParams
impl UnsafeUnpin for FactParams
impl UnwindSafe for FactParams
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more