pub struct AdminResult {
pub operation: AdminOperation,
pub success: bool,
pub message: String,
pub data: Option<AdminData>,
pub timestamp: SystemTime,
}Expand description
Channel administration result
Fieldsยง
ยงoperation: AdminOperationOperation that was performed
success: boolWhether the operation succeeded
message: StringResult message or error description
data: Option<AdminData>Additional data (e.g., ban lists, member info)
timestamp: SystemTimeTimestamp of the operation
Trait Implementationsยง
Sourceยงimpl Clone for AdminResult
impl Clone for AdminResult
Sourceยงfn clone(&self) -> AdminResult
fn clone(&self) -> AdminResult
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 AdminResult
impl Debug for AdminResult
Sourceยงimpl<'de> Deserialize<'de> for AdminResult
impl<'de> Deserialize<'de> for AdminResult
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 Freeze for AdminResult
impl RefUnwindSafe for AdminResult
impl Send for AdminResult
impl Sync for AdminResult
impl Unpin for AdminResult
impl UnsafeUnpin for AdminResult
impl UnwindSafe for AdminResult
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