[−][src]Struct couch_rs::types::view::CouchFunc
Constructs a CouchDB View Function. See defining-a-view for details.
use couch_rs::types::view::CouchFunc; let couch_func = CouchFunc { map: "function (doc) { if (doc.CLIP == true) { emit(doc.CLIP); } }".to_string(), reduce: None, };
Fields
map: String
reduce: Option<String>
Implementations
impl CouchFunc
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CouchFunc
impl Send for CouchFunc
impl Sync for CouchFunc
impl Unpin for CouchFunc
impl UnwindSafe for CouchFunc
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,