pub struct ServiceModelBinding { /* private fields */ }Expand description
One service model binding from a scalar list or mapping form.
Implementations§
Source§impl ServiceModelBinding
impl ServiceModelBinding
pub const fn model(&self) -> &Located<String>
pub const fn span(&self) -> SourceSpan
pub const fn endpoint_var(&self) -> Option<&Located<String>>
pub const fn model_var(&self) -> Option<&Located<String>>
pub fn unmodeled_fields(&self) -> &[FieldReference]
Trait Implementations§
Source§impl Clone for ServiceModelBinding
impl Clone for ServiceModelBinding
Source§fn clone(&self) -> ServiceModelBinding
fn clone(&self) -> ServiceModelBinding
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 ServiceModelBinding
impl Debug for ServiceModelBinding
impl Eq for ServiceModelBinding
Source§impl PartialEq for ServiceModelBinding
impl PartialEq for ServiceModelBinding
impl StructuralPartialEq for ServiceModelBinding
Auto Trait Implementations§
impl Freeze for ServiceModelBinding
impl RefUnwindSafe for ServiceModelBinding
impl Send for ServiceModelBinding
impl Sync for ServiceModelBinding
impl Unpin for ServiceModelBinding
impl UnsafeUnpin for ServiceModelBinding
impl UnwindSafe for ServiceModelBinding
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