[−][src]Struct activitystreams::activity::Question
Represents a question being asked.
Question objects are an extension of IntransitiveActivity. That is, the Question object is an Activity, but the direct object is the question itself and therefore it would not contain an object property.
Either of the anyOf and oneOf properties MAY be used to express possible answers, but a Question object MUST NOT have both properties.
Implementations
impl Question
[src]
pub fn new() -> Self
[src]
Create a new Question Activity
use activitystreams::activity::Question; let activity = Question::new();
pub fn into_parts(
self
) -> (Option<OneOrMany<AnyBase>>, Option<OneOrMany<AnyBase>>, Activity<QuestionType>)
[src]
self
) -> (Option<OneOrMany<AnyBase>>, Option<OneOrMany<AnyBase>>, Activity<QuestionType>)
Deconstruct the Question into its parts
use activitystreams::activity::Question; let activity = Question::new(); let (one_of, any_of, activity) = activity.into_parts();
Trait Implementations
impl Activity for Question
[src]
impl AsActivity<QuestionType> for Question
[src]
fn activity_ref(&self) -> &Activity<QuestionType>
[src]
fn activity_mut(&mut self) -> &mut Activity<QuestionType>
[src]
impl AsBase<QuestionType> for Question
[src]
fn base_ref(&self) -> &Base<QuestionType>
[src]
fn base_mut(&mut self) -> &mut Base<QuestionType>
[src]
impl AsObject<QuestionType> for Question
[src]
fn object_ref(&self) -> &Object<QuestionType>
[src]
fn object_mut(&mut self) -> &mut Object<QuestionType>
[src]
impl AsQuestion for Question
[src]
fn question_ref(&self) -> &Question
[src]
fn question_mut(&mut self) -> &mut Question
[src]
impl Base for Question
[src]
impl Clone for Question
[src]
impl Debug for Question
[src]
impl<'de> Deserialize<'de> for Question
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Extends<QuestionType> for Question
[src]
type Error = Error
The erro produced must be a StdError
fn extends(base: Base<QuestionType>) -> Result<Self, Self::Error>
[src]
fn retracts(self) -> Result<Base<QuestionType>, Self::Error>
[src]
impl IntransitiveActivity for Question
[src]
impl Object for Question
[src]
impl Serialize for Question
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl TryFrom<Object<QuestionType>> for Question
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(object: Object<QuestionType>) -> Result<Self, Self::Error>
[src]
impl TryFrom<Question> for Object<QuestionType>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(question: Question) -> Result<Self, Self::Error>
[src]
impl UnparsedMut for Question
[src]
fn unparsed_mut(&mut self) -> &mut Unparsed
[src]
Auto Trait Implementations
impl RefUnwindSafe for Question
impl Send for Question
impl Sync for Question
impl Unpin for Question
impl UnwindSafe for Question
Blanket Implementations
impl<T, Kind> ActivityExt<Kind> for T where
T: AsActivity<Kind>,
[src]
T: AsActivity<Kind>,
fn result<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_result<T>(&mut self, result: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_results<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_result<T>(&mut self, result: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_result(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_result(&mut self) -> &mut Self
[src]
fn instrument<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_instrument<T>(&mut self, instrument: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_instruments<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_instrument<T>(&mut self, instrument: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_instrument(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_instrument(&mut self) -> &mut Self
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, Kind> BaseExt<Kind> for T where
T: AsBase<Kind>,
[src]
T: AsBase<Kind>,
fn context<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_context<T>(&mut self, context: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_contexts<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_context<T>(&mut self, context: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_context(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_context(&mut self) -> &mut Self
[src]
fn id<'a>(&'a self, domain: &str) -> Result<Option<&'a Url>, DomainError> where
Kind: 'a,
[src]
Kind: 'a,
fn id_unchecked<'a>(&'a self) -> Option<&'a Url> where
Kind: 'a,
[src]
Kind: 'a,
fn id_mut<'a>(&'a mut self) -> Option<&'a mut Url> where
Kind: 'a,
[src]
Kind: 'a,
fn is_id(&self, id: &Url) -> bool
[src]
fn set_id(&mut self, id: Url) -> &mut Self
[src]
fn take_id(&mut self) -> Option<Url>
[src]
fn delete_id(&mut self) -> &mut Self
[src]
fn kind<'a>(&'a self) -> Option<&'a Kind> where
Kind: 'a,
[src]
Kind: 'a,
fn is_kind(&self, kind: &Kind) -> bool where
Kind: PartialEq,
[src]
Kind: PartialEq,
fn set_kind(&mut self, kind: Kind) -> &mut Self
[src]
fn take_kind(&mut self) -> Option<Kind>
[src]
fn delete_kind(&mut self) -> &mut Self
[src]
fn name<'a>(&'a self) -> Option<OneOrMany<&'a AnyString>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_name<T>(&mut self, name: T) -> &mut Self where
T: Into<AnyString>,
[src]
T: Into<AnyString>,
fn set_many_names<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyString>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyString>,
fn add_name<T>(&mut self, name: T) -> &mut Self where
T: Into<AnyString>,
[src]
T: Into<AnyString>,
fn take_name(&mut self) -> Option<OneOrMany<AnyString>>
[src]
fn delete_name(&mut self) -> &mut Self
[src]
fn media_type<'a>(&'a self) -> Option<&'a Mime> where
Kind: 'a,
[src]
Kind: 'a,
fn set_media_type(&mut self, media_type: Mime) -> &mut Self
[src]
fn take_media_type(&mut self) -> Option<Mime>
[src]
fn delete_media_type(&mut self) -> &mut Self
[src]
fn preview<'a>(&'a self) -> Option<OneOrMany<&'a AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_preview<T>(&mut self, preview: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_previews<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_preview<T>(&mut self, preview: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_preview(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_preview(&mut self) -> &mut Self
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T, Kind> ExtendsExt<Kind> for T where
T: Extends<Kind>,
<T as Extends<Kind>>::Error: From<Error>,
[src]
T: Extends<Kind>,
<T as Extends<Kind>>::Error: From<Error>,
fn into_any_base(self) -> Result<AnyBase, Self::Error> where
Kind: Serialize,
Self::Error: From<Error>,
[src]
Kind: Serialize,
Self::Error: From<Error>,
fn from_any_base(any_base: AnyBase) -> Result<Option<Self>, Self::Error> where
Kind: DeserializeOwned,
Self::Error: From<Error>,
[src]
Kind: DeserializeOwned,
Self::Error: From<Error>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, Kind> ObjectExt<Kind> for T where
T: AsObject<Kind>,
[src]
T: AsObject<Kind>,
fn attachment<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_attachment<T>(&mut self, attachment: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_attachments<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_attachment<T>(&mut self, attachment: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_attachment(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_attachment(&mut self) -> &mut Self
[src]
fn attributed_to<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_attributed_to<T>(&mut self, attributed_to: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_attributed_tos<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_attributed_to<T>(&mut self, attributed_to: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_attributed_to(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_attributed_to(&mut self) -> &mut Self
[src]
fn audience<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_audience<T>(&mut self, audience: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_audiences<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_audience<T>(&mut self, audience: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_audience(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_audience(&mut self) -> &mut Self
[src]
fn content<'a>(&'a self) -> Option<&'a OneOrMany<AnyString>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_content<T>(&mut self, content: T) -> &mut Self where
T: Into<AnyString>,
[src]
T: Into<AnyString>,
fn set_many_contents<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyString>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyString>,
fn add_content<T>(&mut self, content: T) -> &mut Self where
T: Into<AnyString>,
[src]
T: Into<AnyString>,
fn take_content(&mut self) -> Option<OneOrMany<AnyString>>
[src]
fn delete_content(&mut self) -> &mut Self
[src]
fn summary<'a>(&'a self) -> Option<&'a OneOrMany<AnyString>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_summary<T>(&mut self, summary: T) -> &mut Self where
T: Into<AnyString>,
[src]
T: Into<AnyString>,
fn set_many_summaries<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyString>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyString>,
fn add_summary<T>(&mut self, summary: T) -> &mut Self where
T: Into<AnyString>,
[src]
T: Into<AnyString>,
fn take_summary(&mut self) -> Option<OneOrMany<AnyString>>
[src]
fn delete_summary(&mut self) -> &mut Self
[src]
fn url<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_url<T>(&mut self, url: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_urls<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_url<T>(&mut self, url: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_url(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_url(&mut self) -> &mut Self
[src]
fn generator<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_generator<T>(&mut self, generator: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_generators<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_generator<T>(&mut self, generator: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_generator(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_generator(&mut self) -> &mut Self
[src]
fn icon<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_icon<T>(&mut self, icon: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_icons<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_icon<T>(&mut self, icon: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_icon(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_icon(&mut self) -> &mut Self
[src]
fn image<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_image<T>(&mut self, image: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_images<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_image<T>(&mut self, image: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_image(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_image(&mut self) -> &mut Self
[src]
fn location<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_location<T>(&mut self, location: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_locations<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_location<T>(&mut self, location: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_location(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_location(&mut self) -> &mut Self
[src]
fn tag<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_tag<T>(&mut self, tag: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_tags<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_tag<T>(&mut self, tag: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_tag(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_tag(&mut self) -> &mut Self
[src]
fn start_time<'a>(&'a self) -> Option<DateTime<FixedOffset>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_start_time(&mut self, start_time: DateTime<FixedOffset>) -> &mut Self
[src]
fn take_start_time(&mut self) -> Option<DateTime<FixedOffset>>
[src]
fn delete_start_time(&mut self) -> &mut Self
[src]
fn end_time<'a>(&'a self) -> Option<DateTime<FixedOffset>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_end_time(&mut self, end_time: DateTime<FixedOffset>) -> &mut Self
[src]
fn take_end_time(&mut self) -> Option<DateTime<FixedOffset>>
[src]
fn delete_end_time(&mut self) -> &mut Self
[src]
fn duration<'a>(&'a self) -> Option<Duration> where
Kind: 'a,
[src]
Kind: 'a,
fn set_duration(&mut self, duration: Duration) -> &mut Self
[src]
fn take_duration(&mut self) -> Option<Duration>
[src]
fn delete_duration(&mut self) -> &mut Self
[src]
fn published<'a>(&'a self) -> Option<DateTime<FixedOffset>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_published(&mut self, published: DateTime<FixedOffset>) -> &mut Self
[src]
fn take_published(&mut self) -> Option<DateTime<FixedOffset>>
[src]
fn delete_published(&mut self) -> &mut Self
[src]
fn updated<'a>(&'a self) -> Option<DateTime<FixedOffset>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_updated(&mut self, updated: DateTime<FixedOffset>) -> &mut Self
[src]
fn take_updated(&mut self) -> Option<DateTime<FixedOffset>>
[src]
fn delete_updated(&mut self) -> &mut Self
[src]
fn in_reply_to<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_in_reply_to<T>(&mut self, in_reply_to: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_in_reply_tos<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_in_reply_to<T>(&mut self, in_reply_to: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_in_reply_to(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_in_reply_to(&mut self) -> &mut Self
[src]
fn replies<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_replies<T>(&mut self, replies: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_replies<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_replies<T>(&mut self, replies: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_replies(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_replies(&mut self) -> &mut Self
[src]
fn to<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_to<T>(&mut self, to: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_tos<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_to<T>(&mut self, to: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_to(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_to(&mut self) -> &mut Self
[src]
fn bto<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_bto<T>(&mut self, bto: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_btos<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_bto<T>(&mut self, bto: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_bto(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_bto(&mut self) -> &mut Self
[src]
fn cc<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_cc<T>(&mut self, cc: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_ccs<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_cc<T>(&mut self, cc: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_cc(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_cc(&mut self) -> &mut Self
[src]
fn bcc<'a>(&'a self) -> Option<&'a OneOrMany<AnyBase>> where
Kind: 'a,
[src]
Kind: 'a,
fn set_bcc<T>(&mut self, bcc: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_bcc<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_bcc<T>(&mut self, bcc: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_bcc(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_bcc(&mut self) -> &mut Self
[src]
impl<T> QuestionExt for T where
T: AsQuestion,
[src]
T: AsQuestion,
fn one_of(&self) -> Option<&OneOrMany<AnyBase>>
[src]
fn set_one_of<T>(&mut self, one_of: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_one_ofs<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_one_of<T>(&mut self, one_of: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_one_of(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_one_of(&mut self) -> &mut Self
[src]
fn any_of(&self) -> Option<&OneOrMany<AnyBase>>
[src]
fn set_any_of<T>(&mut self, any_of: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn set_many_any_ofs<I, T>(&mut self, items: I) -> &mut Self where
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
[src]
I: IntoIterator<Item = T>,
T: Into<AnyBase>,
fn add_any_of<T>(&mut self, any_of: T) -> &mut Self where
T: Into<AnyBase>,
[src]
T: Into<AnyBase>,
fn take_any_of(&mut self) -> Option<OneOrMany<AnyBase>>
[src]
fn delete_any_of(&mut self) -> &mut Self
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnparsedMutExt for T where
T: UnparsedMut,
[src]
T: UnparsedMut,