Struct rusoto_glue::MongoDBTarget
source · [−]pub struct MongoDBTarget {
pub connection_name: Option<String>,
pub path: Option<String>,
pub scan_all: Option<bool>,
}
Expand description
Specifies an Amazon DocumentDB or MongoDB data store to crawl.
Fields
connection_name: Option<String>
The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
path: Option<String>
The path of the Amazon DocumentDB or MongoDB target (database/collection).
scan_all: Option<bool>
Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.
A value of true
means to scan all records, while a value of false
means to sample the records. If no value is specified, the value defaults to true
.
Trait Implementations
sourceimpl Clone for MongoDBTarget
impl Clone for MongoDBTarget
sourcefn clone(&self) -> MongoDBTarget
fn clone(&self) -> MongoDBTarget
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MongoDBTarget
impl Debug for MongoDBTarget
sourceimpl Default for MongoDBTarget
impl Default for MongoDBTarget
sourcefn default() -> MongoDBTarget
fn default() -> MongoDBTarget
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for MongoDBTarget
impl<'de> Deserialize<'de> for MongoDBTarget
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<MongoDBTarget> for MongoDBTarget
impl PartialEq<MongoDBTarget> for MongoDBTarget
sourcefn eq(&self, other: &MongoDBTarget) -> bool
fn eq(&self, other: &MongoDBTarget) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MongoDBTarget) -> bool
fn ne(&self, other: &MongoDBTarget) -> bool
This method tests for !=
.
sourceimpl Serialize for MongoDBTarget
impl Serialize for MongoDBTarget
impl StructuralPartialEq for MongoDBTarget
Auto Trait Implementations
impl RefUnwindSafe for MongoDBTarget
impl Send for MongoDBTarget
impl Sync for MongoDBTarget
impl Unpin for MongoDBTarget
impl UnwindSafe for MongoDBTarget
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more