Struct rincon_session::client::CollectionPropertiesUpdate
[−]
[src]
pub struct CollectionPropertiesUpdate { /* fields omitted */ }
This struct holds optional values for the properties of a collection which shall be changed.
Methods
impl CollectionPropertiesUpdate
[src]
pub fn new() -> CollectionPropertiesUpdate
[src]
Constructs a new instance of CollectionPropertiesUpdate
with no
options set.
pub fn set_wait_for_sync<W>(&mut self, wait_for_sync: W) where
W: Into<Option<bool>>,
[src]
W: Into<Option<bool>>,
Sets whether the server waits for sync to the filesystem before sending the response.
pub fn is_wait_for_sync(&self) -> Option<bool>
[src]
Returns whether the server waits for sync to the filesystem before sending the response.
Trait Implementations
impl PartialEq<CollectionPropertiesUpdate> for CollectionPropertiesUpdate
[src]
fn eq(&self, __arg_0: &CollectionPropertiesUpdate) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CollectionPropertiesUpdate) -> bool
[src]
This method tests for !=
.
impl Serialize for CollectionPropertiesUpdate
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Clone for CollectionPropertiesUpdate
[src]
fn clone(&self) -> CollectionPropertiesUpdate
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more