Thrift::Parser::Type::Struct - Struct type
This class inherits from Thrift::Parser::Type; see docs there for inherited methods.
Returns the Thrift::Parser::FieldSet object which represents the data in this type.
The following methods are available on this class that are passthrough methods to the value object:
value
my $field = $object->named('id'); is equivalent to: my $field = $object->value->named('id');
my $object = $class->compose({ ... });
Call with a hashref of key/value pairs to create a new object.
Copyright (c) 2009 Eric Waters and XMission LLC (http://www.xmission.com/). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
Eric Waters <ewaters@gmail.com>
To install Thrift::Parser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Thrift::Parser
CPAN shell
perl -MCPAN -e shell install Thrift::Parser
For more information on module installation, please visit the detailed CPAN module installation guide.