pub struct OfferProtocolDecl {
pub source: OfferSource,
pub source_name: Name,
pub source_dictionary: RelativePath,
pub target: OfferTarget,
pub target_name: Name,
pub dependency_type: DependencyType,
pub availability: Availability,
}
Fields§
§source: OfferSource
§source_name: Name
§source_dictionary: RelativePath
§target: OfferTarget
§target_name: Name
§dependency_type: DependencyType
§availability: Availability
Trait Implementations§
Source§impl Clone for OfferProtocolDecl
impl Clone for OfferProtocolDecl
Source§fn clone(&self) -> OfferProtocolDecl
fn clone(&self) -> OfferProtocolDecl
Returns a copy 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 OfferProtocolDecl
impl Debug for OfferProtocolDecl
Source§impl FidlIntoNative<OfferProtocolDecl> for OfferProtocol
impl FidlIntoNative<OfferProtocolDecl> for OfferProtocol
fn fidl_into_native(self) -> OfferProtocolDecl
Source§impl From<OfferProtocolDecl> for OfferDecl
impl From<OfferProtocolDecl> for OfferDecl
Source§fn from(f: OfferProtocolDecl) -> Self
fn from(f: OfferProtocolDecl) -> Self
Converts to this type from the input type.
Source§impl FromEnum<OfferDecl> for OfferProtocolDecl
impl FromEnum<OfferDecl> for OfferProtocolDecl
Source§impl NativeIntoFidl<OfferProtocol> for OfferProtocolDecl
impl NativeIntoFidl<OfferProtocol> for OfferProtocolDecl
fn native_into_fidl(self) -> OfferProtocol
Source§impl OfferDeclCommon for OfferProtocolDecl
impl OfferDeclCommon for OfferProtocolDecl
fn target_name(&self) -> &Name
fn source(&self) -> &OfferSource
fn target(&self) -> &OfferTarget
fn availability(&self) -> &Availability
Source§impl PartialEq for OfferProtocolDecl
impl PartialEq for OfferProtocolDecl
Source§impl SourceName for OfferProtocolDecl
impl SourceName for OfferProtocolDecl
fn source_name(&self) -> &Name
Source§impl SourcePath for OfferProtocolDecl
impl SourcePath for OfferProtocolDecl
fn source_path(&self) -> BorrowedSeparatedPath<'_>
fn is_from_dictionary(&self) -> bool
impl Eq for OfferProtocolDecl
impl StructuralPartialEq for OfferProtocolDecl
Auto Trait Implementations§
impl Freeze for OfferProtocolDecl
impl RefUnwindSafe for OfferProtocolDecl
impl Send for OfferProtocolDecl
impl Sync for OfferProtocolDecl
impl Unpin for OfferProtocolDecl
impl UnwindSafe for OfferProtocolDecl
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)