pub struct ObjectChange {Show 15 fields
pub id: Option<i32>,
pub url: Option<String>,
pub display_url: Option<String>,
pub display: Option<String>,
pub time: Option<String>,
pub user: Option<Box<BriefUser>>,
pub user_name: Option<String>,
pub request_id: Option<Uuid>,
pub action: Option<Box<ChangeDiffAction>>,
pub changed_object_type: Option<String>,
pub changed_object_id: i64,
pub changed_object: Option<Option<Value>>,
pub message: Option<String>,
pub prechange_data: Option<Option<Value>>,
pub postchange_data: Option<Option<Value>>,
}Fields§
§id: Option<i32>§url: Option<String>§display_url: Option<String>§display: Option<String>§time: Option<String>§user: Option<Box<BriefUser>>§user_name: Option<String>§request_id: Option<Uuid>§action: Option<Box<ChangeDiffAction>>§changed_object_type: Option<String>§changed_object_id: i64§changed_object: Option<Option<Value>>§message: Option<String>§prechange_data: Option<Option<Value>>§postchange_data: Option<Option<Value>>Implementations§
Source§impl ObjectChange
impl ObjectChange
pub fn new(changed_object_id: i64) -> ObjectChange
Trait Implementations§
Source§impl Clone for ObjectChange
impl Clone for ObjectChange
Source§fn clone(&self) -> ObjectChange
fn clone(&self) -> ObjectChange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObjectChange
impl Debug for ObjectChange
Source§impl Default for ObjectChange
impl Default for ObjectChange
Source§fn default() -> ObjectChange
fn default() -> ObjectChange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ObjectChange
impl<'de> Deserialize<'de> for ObjectChange
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
Source§impl PartialEq for ObjectChange
impl PartialEq for ObjectChange
Source§impl Serialize for ObjectChange
impl Serialize for ObjectChange
impl StructuralPartialEq for ObjectChange
Auto Trait Implementations§
impl Freeze for ObjectChange
impl RefUnwindSafe for ObjectChange
impl Send for ObjectChange
impl Sync for ObjectChange
impl Unpin for ObjectChange
impl UnwindSafe for ObjectChange
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