pub struct RuleModel {Show 13 fields
pub created: i64,
pub created_by: i64,
pub definition: Option<Value>,
pub description: String,
pub group_id: Option<Option<i64>>,
pub id: i64,
pub name: String,
pub pattern: Option<Value>,
pub repo_id: Option<Option<i64>>,
pub state: RuleState,
pub type: RuleType,
pub updated: i64,
pub version: i64,
}Fields§
§created: i64§created_by: i64§definition: Option<Value>§description: String§group_id: Option<Option<i64>>§id: i64§name: String§pattern: Option<Value>§repo_id: Option<Option<i64>>§state: RuleState§type: RuleType§updated: i64§version: i64Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RuleModel
impl<'de> Deserialize<'de> for RuleModel
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
impl StructuralPartialEq for RuleModel
Auto Trait Implementations§
impl Freeze for RuleModel
impl RefUnwindSafe for RuleModel
impl Send for RuleModel
impl Sync for RuleModel
impl Unpin for RuleModel
impl UnwindSafe for RuleModel
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