pub struct CacheStorageContentUpdatedEventParamsBuilder { /* private fields */ }Expand description
Builder for CacheStorageContentUpdatedEventParams.
Implementations§
Source§impl CacheStorageContentUpdatedEventParamsBuilder
impl CacheStorageContentUpdatedEventParamsBuilder
Sourcepub fn storage_key(&mut self, value: String) -> &mut Self
pub fn storage_key(&mut self, value: String) -> &mut Self
Storage key to update.
Sourcepub fn cache_name(&mut self, value: String) -> &mut Self
pub fn cache_name(&mut self, value: String) -> &mut Self
Name of cache in origin.
Sourcepub fn build(
&self,
) -> Result<CacheStorageContentUpdatedEventParams, CacheStorageContentUpdatedEventParamsBuilderError>
pub fn build( &self, ) -> Result<CacheStorageContentUpdatedEventParams, CacheStorageContentUpdatedEventParamsBuilderError>
Builds a new CacheStorageContentUpdatedEventParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for CacheStorageContentUpdatedEventParamsBuilder
impl Clone for CacheStorageContentUpdatedEventParamsBuilder
Source§fn clone(&self) -> CacheStorageContentUpdatedEventParamsBuilder
fn clone(&self) -> CacheStorageContentUpdatedEventParamsBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CacheStorageContentUpdatedEventParamsBuilder
impl RefUnwindSafe for CacheStorageContentUpdatedEventParamsBuilder
impl Send for CacheStorageContentUpdatedEventParamsBuilder
impl Sync for CacheStorageContentUpdatedEventParamsBuilder
impl Unpin for CacheStorageContentUpdatedEventParamsBuilder
impl UnsafeUnpin for CacheStorageContentUpdatedEventParamsBuilder
impl UnwindSafe for CacheStorageContentUpdatedEventParamsBuilder
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