pub struct GoalCreateRequest {
pub realm_id: Option<String>,
pub namespace: Option<WorkNamespace>,
pub title: String,
pub description: Option<String>,
pub target: GoalAttentionTarget,
pub mode: WorkAttentionMode,
pub completion_policy: WorkCompletionPolicy,
pub delegated_authority: AttentionDelegatedAuthority,
pub projection_policy: AttentionProjectionPolicy,
}Fields§
§realm_id: Option<String>§namespace: Option<WorkNamespace>§title: String§description: Option<String>§target: GoalAttentionTarget§mode: WorkAttentionMode§completion_policy: WorkCompletionPolicy§projection_policy: AttentionProjectionPolicyTrait Implementations§
Source§impl Clone for GoalCreateRequest
impl Clone for GoalCreateRequest
Source§fn clone(&self) -> GoalCreateRequest
fn clone(&self) -> GoalCreateRequest
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 GoalCreateRequest
impl Debug for GoalCreateRequest
Source§impl<'de> Deserialize<'de> for GoalCreateRequest
impl<'de> Deserialize<'de> for GoalCreateRequest
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 From<PublicGoalCreateRequest> for GoalCreateRequest
impl From<PublicGoalCreateRequest> for GoalCreateRequest
Source§fn from(request: PublicGoalCreateRequest) -> Self
fn from(request: PublicGoalCreateRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GoalCreateRequest
impl RefUnwindSafe for GoalCreateRequest
impl Send for GoalCreateRequest
impl Sync for GoalCreateRequest
impl Unpin for GoalCreateRequest
impl UnsafeUnpin for GoalCreateRequest
impl UnwindSafe for GoalCreateRequest
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