Struct spacegate_kernel::plugins::filters::SgPluginFilterAccept
source · pub struct SgPluginFilterAccept {
pub kind: Vec<SgPluginFilterKind>,
pub accept_error_response: bool,
}Fields§
§kind: Vec<SgPluginFilterKind>§accept_error_response: boolWhether to accept the error response, default is false .
if filter can accept the error response, it should return true
Trait Implementations§
source§impl Clone for SgPluginFilterAccept
impl Clone for SgPluginFilterAccept
source§fn clone(&self) -> SgPluginFilterAccept
fn clone(&self) -> SgPluginFilterAccept
Returns a copy 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 SgPluginFilterAccept
impl Debug for SgPluginFilterAccept
Auto Trait Implementations§
impl RefUnwindSafe for SgPluginFilterAccept
impl Send for SgPluginFilterAccept
impl Sync for SgPluginFilterAccept
impl Unpin for SgPluginFilterAccept
impl UnwindSafe for SgPluginFilterAccept
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