pub struct ViewSetConfig<V: ViewSet> { /* private fields */ }Implementations§
Source§impl<V: ViewSet> ViewSetConfig<V>
impl<V: ViewSet> ViewSetConfig<V>
pub fn image_field(&mut self, field: ImageFieldEndpoint<V>) -> AppResult<()>
Source§impl<V: ViewSet> ViewSetConfig<V>
impl<V: ViewSet> ViewSetConfig<V>
pub fn new(path: &str) -> Self
pub fn extend<E>(&mut self, extension: E) -> AppResult<()>where
E: ViewSetExtension<V>,
pub fn mutation_hook<H: MutationHook<V>>(&mut self, hook: H) -> AppResult<()>
pub fn into_parts( self, ) -> (Router, Vec<ApiExtension>, Vec<ApiSchemaDefinition>, Vec<Arc<dyn MutationHook<V>>>)
Auto Trait Implementations§
impl<V> !RefUnwindSafe for ViewSetConfig<V>
impl<V> !UnwindSafe for ViewSetConfig<V>
impl<V> Forget for ViewSetConfig<V>
impl<V> Freeze for ViewSetConfig<V>
impl<V> Move for ViewSetConfig<V>
impl<V> Send for ViewSetConfig<V>
impl<V> Sync for ViewSetConfig<V>
impl<V> Unpin for ViewSetConfig<V>
impl<V> UnsafeUnpin for ViewSetConfig<V>
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