pub enum ActionFilter {
All,
Whitelist(Vec<String>),
Blacklist(Vec<String>),
}Expand description
Which API methods to include in generated code.
Variants§
All
Include all resources and methods.
Whitelist(Vec<String>)
Include only methods matching these patterns (files.*, files.list, users.**).
Blacklist(Vec<String>)
Include everything except methods matching these patterns.
Trait Implementations§
Source§impl Clone for ActionFilter
impl Clone for ActionFilter
Source§fn clone(&self) -> ActionFilter
fn clone(&self) -> ActionFilter
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 ActionFilter
impl Debug for ActionFilter
Source§impl PartialEq for ActionFilter
impl PartialEq for ActionFilter
impl Eq for ActionFilter
impl StructuralPartialEq for ActionFilter
Auto Trait Implementations§
impl Freeze for ActionFilter
impl RefUnwindSafe for ActionFilter
impl Send for ActionFilter
impl Sync for ActionFilter
impl Unpin for ActionFilter
impl UnsafeUnpin for ActionFilter
impl UnwindSafe for ActionFilter
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