pub struct RegionMapping {
pub from_region: String,
pub to_region: String,
pub transform: Option<ContentTransform>,
}Expand description
Mapping rule for a single region in a context transform.
Fields§
§from_region: StringSource region name
to_region: StringTarget region name
transform: Option<ContentTransform>Optional transformation to apply to content
Trait Implementations§
Source§impl Clone for RegionMapping
impl Clone for RegionMapping
Source§fn clone(&self) -> RegionMapping
fn clone(&self) -> RegionMapping
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegionMapping
impl Debug for RegionMapping
Source§impl<'de> Deserialize<'de> for RegionMapping
impl<'de> Deserialize<'de> for RegionMapping
Source§fn 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
Auto Trait Implementations§
impl Freeze for RegionMapping
impl RefUnwindSafe for RegionMapping
impl Send for RegionMapping
impl Sync for RegionMapping
impl Unpin for RegionMapping
impl UnsafeUnpin for RegionMapping
impl UnwindSafe for RegionMapping
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