pub struct Facet {
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub sort_order: Option<f64>,
pub source_organization: Option<Box<Organization>>,
pub source_team: Option<Box<Team>>,
pub source_project: Option<Box<Project>>,
pub source_initiative: Option<Box<Initiative>>,
pub source_feed_user: Option<Box<User>>,
pub source_page: Option<FacetPageSource>,
pub target_custom_view: Option<Box<CustomView>>,
}Expand description
A facet. Facets are joins between entities. A facet can tie a custom view to a project, or a a project to a roadmap for example.
Fields§
§id: Option<String>The unique identifier of the entity.
created_at: Option<DateTime<Utc>>The time at which the entity was created.
updated_at: Option<DateTime<Utc>>The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.
archived_at: Option<DateTime<Utc>>The time at which the entity was archived. Null if the entity has not been archived.
sort_order: Option<f64>The sort order of the facet.
source_organization: Option<Box<Organization>>The owning organization.
source_team: Option<Box<Team>>The owning team.
source_project: Option<Box<Project>>The owning project.
source_initiative: Option<Box<Initiative>>The owning initiative.
source_feed_user: Option<Box<User>>The owning feed user.
source_page: Option<FacetPageSource>The owning page.
target_custom_view: Option<Box<CustomView>>The targeted custom view.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Facet
impl<'de> Deserialize<'de> for Facet
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
Source§impl GraphQLFields for Facet
impl GraphQLFields for Facet
Auto Trait Implementations§
impl Freeze for Facet
impl RefUnwindSafe for Facet
impl Send for Facet
impl Sync for Facet
impl Unpin for Facet
impl UnwindSafe for Facet
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