pub struct BulkPluginActionResponse {
pub action: BulkPluginActionResponseAction,
pub affected: f64,
pub missing: Vec<String>,
pub ok: bool,
}Expand description
BulkPluginActionResponse
JSON schema
{
"type": "object",
"required": [
"action",
"affected",
"missing",
"ok"
],
"properties": {
"action": {
"type": "string",
"enum": [
"approve",
"reject",
"delete"
]
},
"affected": {
"type": "number"
},
"missing": {
"type": "array",
"items": {
"type": "string"
}
},
"ok": {
"type": "boolean"
}
}
}Fields§
§action: BulkPluginActionResponseAction§affected: f64§missing: Vec<String>§ok: boolImplementations§
Source§impl BulkPluginActionResponse
impl BulkPluginActionResponse
pub fn builder() -> BulkPluginActionResponse
Trait Implementations§
Source§impl Clone for BulkPluginActionResponse
impl Clone for BulkPluginActionResponse
Source§fn clone(&self) -> BulkPluginActionResponse
fn clone(&self) -> BulkPluginActionResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BulkPluginActionResponse
impl Debug for BulkPluginActionResponse
Source§impl<'de> Deserialize<'de> for BulkPluginActionResponse
impl<'de> Deserialize<'de> for BulkPluginActionResponse
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 From<&BulkPluginActionResponse> for BulkPluginActionResponse
impl From<&BulkPluginActionResponse> for BulkPluginActionResponse
Source§fn from(value: &BulkPluginActionResponse) -> Self
fn from(value: &BulkPluginActionResponse) -> Self
Converts to this type from the input type.
Source§impl From<BulkPluginActionResponse> for BulkPluginActionResponse
impl From<BulkPluginActionResponse> for BulkPluginActionResponse
Source§fn from(value: BulkPluginActionResponse) -> Self
fn from(value: BulkPluginActionResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for BulkPluginActionResponse
impl Serialize for BulkPluginActionResponse
Source§impl TryFrom<BulkPluginActionResponse> for BulkPluginActionResponse
impl TryFrom<BulkPluginActionResponse> for BulkPluginActionResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: BulkPluginActionResponse) -> Result<Self, ConversionError>
fn try_from(value: BulkPluginActionResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for BulkPluginActionResponse
impl RefUnwindSafe for BulkPluginActionResponse
impl Send for BulkPluginActionResponse
impl Sync for BulkPluginActionResponse
impl Unpin for BulkPluginActionResponse
impl UnsafeUnpin for BulkPluginActionResponse
impl UnwindSafe for BulkPluginActionResponse
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