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: AvailabilityTrait Implementations§
Source§impl Clone for OfferProtocolDecl
impl Clone for OfferProtocolDecl
Source§fn clone(&self) -> OfferProtocolDecl
fn clone(&self) -> OfferProtocolDecl
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 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,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more