[][src]Trait odata_client::EntityProperties

pub trait EntityProperties: for<'de> Deserialize<'de> {
    pub const EXPAND_QUERY: ExpandQuery;
}

Implemented by types which represent an Entity Type included in generated code from an OData Entity Data Model document.

Associated Constants

pub const EXPAND_QUERY: ExpandQuery[src]

Contents of the $expand query to use when fetching this entity: a comma-separated list that sufficiently specifies all navigation properties to be expanded.

For non-containment navigation properties (i.e. the EntityLink/EntityLinkStub fields in the Rust type), a segment of the form PropName/$ref should be added.

For containment navigation properties (i.e. those where ContainsTarget="true" in the EDM document), a segment of the form PropName should be added, or PropName($expand=[target entity expand query]), if the target entity has navigation properties itself.

Should be set to ExpandQuery::None if there are no required segments.

Loading content...

Implementors

Loading content...