pub struct ShapeAlternativeObject {
pub shape_name: String,
}Expand description
The shape that Oracle recommends you to use an alternative to the current shape.
Fields§
§shape_name: StringThe name of the shape.
Implementations§
Source§impl ShapeAlternativeObject
impl ShapeAlternativeObject
Sourcepub fn new(required: ShapeAlternativeObjectRequired) -> Self
pub fn new(required: ShapeAlternativeObjectRequired) -> Self
Create a new ShapeAlternativeObject with required fields
Sourcepub fn set_shape_name(self, value: String) -> Self
pub fn set_shape_name(self, value: String) -> Self
Set shape_name
Trait Implementations§
Source§impl Clone for ShapeAlternativeObject
impl Clone for ShapeAlternativeObject
Source§fn clone(&self) -> ShapeAlternativeObject
fn clone(&self) -> ShapeAlternativeObject
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 moreSource§impl Debug for ShapeAlternativeObject
impl Debug for ShapeAlternativeObject
Source§impl<'de> Deserialize<'de> for ShapeAlternativeObject
impl<'de> Deserialize<'de> for ShapeAlternativeObject
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 ShapeAlternativeObject
impl RefUnwindSafe for ShapeAlternativeObject
impl Send for ShapeAlternativeObject
impl Sync for ShapeAlternativeObject
impl Unpin for ShapeAlternativeObject
impl UnsafeUnpin for ShapeAlternativeObject
impl UnwindSafe for ShapeAlternativeObject
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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