pub fn new(read: bool, create: bool, update: bool, delete: bool) -> EndpointsFilter {
        EndpointsFilter {
            read,
            create,
            update,
            delete,
        }
    }
/// Creates a new filter with the option to configure all endpoints
///
/// # Examples
///
/// ```rust
/// # use warpgrapher::engine::config::EndpointsFilter;
///
/// let ef = EndpointsFilter::new(true, true, false, false);
/// ```
Creates a new filter with the option to configure all endpoints
Creates a new filter with the option to configure all endpoints
pub fn new(read: bool, create: bool, update: bool, delete: bool) -> EndpointsFilter {
        EndpointsFilter {
            read,
            create,
            update,
            delete,
        }
    }
pub fn new ( read : bool , create : bool , update : bool , delete : bool ) -> EndpointsFilter { EndpointsFilter { read , create , update , delete , } }
Creates a new filter with the option to configure all endpoints
Creates a new filter with the option to configure all endpoints
read
bool
create
bool
update
bool
delete
bool
read
bool
create
bool
update
bool
delete
bool
examples
None
use warpgrapher::engine::config::endpointsfilter;
let ef = EndpointsFilter::new(true, true, false, false);
```
let ef = EndpointsFilter :: new ( true true false false ) ; ` ` `